import { Meta, StoryObj } from '@storybook/react-webpack5'; import Logo, { LogoType } from '.'; import { withVariantConfig } from '../../.storybook/helpers'; const meta: Meta = { component: Logo, tags: ['!autodocs', '!manifest'], title: 'Content/Logo/Tests', }; export default meta; type Story = StoryObj; const AllVariants = () => (
{Object.values(LogoType).map((type) => ( ))}
{Object.values(LogoType).map((type) => ( ))}
); export const Variants: Story = { render: () => , ...withVariantConfig(['default', 'dark', 'bright-green', 'forest-green']), }; export const RTL: Story = { render: () => , ...withVariantConfig(['rtl']), }; export const Zoom400: Story = { render: () => , ...withVariantConfig(['400%']), };