mirror of https://github.com/portainer/portainer
19 lines
467 B
TypeScript
19 lines
467 B
TypeScript
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',
|
|
};
|