import React from "react"; import { Meta, StoryObj } from "@storybook/react"; import { SkeletonLoader } from "."; import { getCssProps } from "@sb/cssprops"; export default { title: "Feedback/SkeletonLoader", component: SkeletonLoader, parameters: { cssprops: getCssProps("SkeletonLoader"), }, } as Meta; type Story = StoryObj; export const List: Story = { args: { duration: 2, width: 400, height: 160, children: [ , , , , , , ], }, }; export const Profile: Story = { args: { width: 380, height: 70, children: [ , , , ], }, }; export const ResponsiveList: Story = { args: { duration: 2, width: "100%", height: 160, children: [ , , , , , , ], }, parameters: { viewport: { defaultViewport: "responsive", }, }, };