Files
portainer/app/react/components/InsightsBox/InsightsBox.stories.tsx
T
2026-02-08 09:59:08 +02:00

19 lines
471 B
TypeScript

import { Meta, StoryFn } 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: StoryFn<Props> = Template.bind({});
Primary.args = {
header: 'Insights box header',
content: 'This is the content of the insights box',
};