Files
portainer/app/react/components/Card/Card.stories.tsx
T

19 lines
440 B
TypeScript

import { Meta, StoryFn } from '@storybook/react-webpack5';
import { PropsWithChildren } from 'react';
import { Card, Props } from './Card';
export default {
component: Card,
title: 'Components/Card',
} as Meta;
function Template({
children,
}: JSX.IntrinsicAttributes & PropsWithChildren<Props>) {
return <Card>{children}</Card>;
}
export const Primary: StoryFn<PropsWithChildren<Props>> = Template.bind({});
Primary.args = {};