You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/components/ViewLoading/ViewLoading.stories.tsx

22 lines
410 B

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 <ViewLoading message={message} />;
}
export const Example: Story<Args> = Template.bind({});
Example.args = {
message: 'Loading...',
};