import type { StoryObj, Meta } from '@storybook/react'; import { Box, Text, TextInput, TextInputProps } from '@rocketseat-ignite-ui/react'; export default { title: 'Form/Text Input', component: TextInput, args: {}, argTypes: {}, decorators: [ (story) => { return ( Input label {story()} ); }, ], } as Meta; export const Default: StoryObj = { args: { placeholder: 'Type your name', }, }; export const Disabled: StoryObj = { args: { disabled: true, }, }; export const WithPrefix: StoryObj = { args: { prefix: 'prefix text/', }, };