import { Meta, StoryObj } from '@storybook/react-webpack5';

import { lorem10 } from '../../test-utils';
import Title from '../../title';
import { Typography } from '../propsValues/typography';

import BaseCard from '.';

const meta: Meta<typeof BaseCard> = {
  component: BaseCard,
  title: 'Internal/BaseCard',
};

export default meta;
type Story = StoryObj<typeof BaseCard>;

export const Default: Story = {
  args: {
    children: (
      <>
        <Title type={Typography.TITLE_SECTION}>Money without borders</Title>
        {lorem10}
      </>
    ),
    onDismiss: () => {},
  },
};
