import { Meta, StoryObj } from '@storybook/react-vite' import HintText from '.' export default { title: 'react/HintText', component: HintText, parameters: { layout: 'centered', }, argTypes: { children: { type: 'string' }, context: { control: { type: 'select', options: ['page', 'section'], }, }, }, } as Meta export const Default: StoryObj = { args: { children: 'HintText', context: 'section', }, render: (props) => , } export const NarrowWidth: StoryObj = { args: { children: 'LongLongLongLongLongLongLongLongLongText', context: 'section', }, render: (props) => (
), }