import { Story, Meta } from '@storybook/react'; import { PropsWithChildren } from 'react'; import { InlineLoader, Props } from './InlineLoader'; export default { title: 'Components/InlineLoader', component: InlineLoader, } as Meta; function Template({ className, children }: PropsWithChildren) { return {children}; } export const Primary: Story> = Template.bind({}); Primary.args = { className: 'test-class', children: 'Loading...', };