| 1234567891011121314151617181920212223242526272829 |
- import type { Meta, StoryObj } from "@storybook/react";
- import { Skeleton as SkeletonComponent } from "./index.js";
- const meta = {
- component: SkeletonComponent,
- argTypes: {
- label: {
- control: "text",
- table: {
- category: "Skeleton",
- },
- },
- width: {
- control: "number",
- table: {
- category: "Skeleton",
- },
- },
- },
- } satisfies Meta<typeof SkeletonComponent>;
- export default meta;
- export const Skeleton = {
- args: {
- label: "Loading",
- width: 20,
- },
- } satisfies StoryObj<typeof SkeletonComponent>;
|