import { Meta, StoryObj } from '@storybook/react-webpack5'; import { createSandboxStory, globalScope, } from '../../../.storybook/components/sandbox/SandboxEditor'; import { lorem10 } from '../../test-utils'; import Info from '..'; import { withVariantConfig } from '../../../.storybook/helpers'; const meta = { component: Info, title: 'Dialogs/Info', args: { 'aria-label': 'Click here for more details', title: 'Fast transfer hint', content: lorem10, }, render: (args) => (

Fast transfer

), } satisfies Meta; export default meta; type Story = StoryObj; export const Sandbox = createSandboxStory({ code: ``, scope: { ...globalScope, Info }, }); export const Basic: Story = { ...withVariantConfig(['default', 'dark']), };