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

19 lines
432 B

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