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/InsightsBox/InsightsBox.stories.tsx

19 lines
467 B

import { Meta, Story } from '@storybook/react';
import { InsightsBox, Props } from './InsightsBox';
export default {
component: InsightsBox,
header: 'Components/InsightsBox',
} as Meta;
function Template({ header, content }: Props) {
return <InsightsBox header={header} content={content} />;
}
export const Primary: Story<Props> = Template.bind({});
Primary.args = {
header: 'Insights box header',
content: 'This is the content of the insights box',
};