import React from 'react'; import { ComponentMeta, ComponentStory } from '@storybook/react'; import { Flex } from '../Layout'; import mdx from './Loading.mdx'; import { Loading } from '.'; export default { title: 'UI Components/Loading', component: Loading, parameters: { docs: { page: mdx, }, }, } as ComponentMeta; const Template: ComponentStory = ({ color }) => { return ( ); }; export const Multiple = Template.bind({}); Multiple.args = { color: 'red', }; export const Playground: ComponentStory = args => ; Playground.storyName = 'Loading'; Playground.argTypes = { size: { control: { type: 'number' }, defaultValue: 24 }, color: { defaultValue: 'blue' }, };