import { Meta, StoryObj } from '@storybook/react-webpack5'; import { lorem10 } from '../../../test-utils'; import Title from '../../../Title'; import { Typography } from '../../PropsValues/typography'; import BaseCard from '..'; import { createSandboxStory, globalScope, } from '../../../../.storybook/components/sandbox/SandboxEditor'; const meta: Meta = { component: BaseCard, title: 'Internal/BaseCard', }; export default meta; type Story = StoryObj; export const Sandbox = createSandboxStory({ code: ` console.log('dismissed')}> Money without borders Send money abroad with low fees and the real exchange rate. `, scope: globalScope, }); export const Default: Story = { args: { children: ( <> Money without borders {lorem10} ), onDismiss: () => {}, }, };