import { Meta, StoryObj } from '@storybook/react-webpack5'; import { createSandboxStory } from '../../../.storybook/components/sandbox/SandboxEditor'; import Loader from '..'; export default { component: Loader, title: 'Loading/Loader', args: { size: 'md', label: 'Sending your money', }, argTypes: { size: { type: { name: 'enum', value: ['sm', 'md'], }, }, label: { control: 'text', }, }, } satisfies Meta; type Story = StoryObj; export const Sandbox = createSandboxStory({ code: ``, scope: { Loader }, }); export const Basic: Story = {};