import { Meta, StoryObj } from '@storybook/react-webpack5'; import AvatarView from '../../AvatarView'; import { ProfileType } from '../../common'; import Logo from '../../Logo'; import { withVariantConfig } from '../../../.storybook/helpers'; import { allModes } from '../../../.storybook/modes'; import FlowNavigation, { FlowNavigationProps } from '../FlowNavigation'; const noop = () => {}; const baseProps: FlowNavigationProps = { steps: [], activeStep: 0, avatar: , logo: , onClose: noop, onGoBack: noop, }; const meta: Meta = { component: FlowNavigation, title: 'Navigation/FlowNavigation/Tests', tags: ['!autodocs', '!manifest'], parameters: { padding: '0', }, }; export default meta; type Story = StoryObj; export const EmptySteps: Story = { parameters: { chromatic: { modes: { tablet: allModes.tablet, }, }, }, globals: { viewport: 'tablet', }, render: () => , }; export const LongLabel: Story = { render: () => ( ), ...withVariantConfig(['mobile']), }; export const CriticalBannerMobile: Story = { render: () => ( <> ), ...withVariantConfig(['mobile']), };