Files
backroad/app/react/components/Card/Card.stories.tsx
2026-02-08 09:59:08 +02:00

19 lines
436 B
TypeScript

import { Meta, StoryFn } 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: StoryFn<PropsWithChildren<Props>> = Template.bind({});
Primary.args = {};