import { Meta, Story } from '@storybook/react';
import { ViewLoading } from './ViewLoading';
export default {
component: ViewLoading,
title: 'Components/ViewLoading',
} as Meta;
interface Args {
message: string;
}
function Template({ message }: Args) {
return ;
}
export const Example: Story = Template.bind({});
Example.args = {
message: 'Loading...',
};