import React from 'react' import { type Meta, type StoryObj } from '@storybook/react-vite' import { DocsTemplate } from '../../../.storybook' import ListLoading from './ListLoading' const meta: Meta = { title: 'Components/Loaders/ListLoading', component: ListLoading, parameters: { docs: { page: () => ( The ListLoading shows an animated placeholder for a list with customizable options. } /> ), }, }, } export default meta type Story = StoryObj const Template: Story = { render: (args) => { return (
) }, } export const Standard: Story = { ...Template, args: {}, } export const LongList: Story = { ...Template, args: { longList: true, }, } export const CustomHeightAndGridGap: Story = { ...Template, args: { longList: true, customHeight: '24px', customGridGap: '4px', }, }