chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { Meta, StoryFn } from '@storybook/react-webpack5';
|
||||
|
||||
import { ViewLoading } from './ViewLoading';
|
||||
|
||||
export default {
|
||||
component: ViewLoading,
|
||||
title: 'Components/ViewLoading',
|
||||
} as Meta;
|
||||
|
||||
interface Args {
|
||||
message: string;
|
||||
}
|
||||
|
||||
function Template({ message }: Args) {
|
||||
return <ViewLoading message={message} />;
|
||||
}
|
||||
|
||||
export const Example: StoryFn<Args> = Template.bind({});
|
||||
Example.args = {
|
||||
message: 'Loading...',
|
||||
};
|
||||
Reference in New Issue
Block a user