OperationCode/front-end

View on GitHub
components/Cards/Card/__stories__/Card.stories.tsx

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import { Meta, StoryObj } from '@storybook/react';
import { descriptions } from 'common/constants/descriptions';
import Card from '../Card';

type CardStoryType = StoryObj<typeof Card>;

const meta: Meta<typeof Card> = {
  title: 'Cards/Card',
  component: Card,
  args: {
    children: descriptions.medium,
  },
};

export default meta;

export const Default: CardStoryType = {
  render: args => <Card {...args} />,
};