// @flow import * as React from 'react'; import TextInput from './TextInput'; import notes from './TextInput.stories.md'; export const basic = () => ( ); export const urlInput = () => ; export const withCustomValidation = () => { const customValidationFunc = value => { if (value !== 'box') { return { code: 'notbox', message: 'value is not box', }; } return null; }; return ( ); }; export const withMinimumLength = () => ( ); export const withMaximumLength = () => ( ); export const withTooltipOnHover = () => ( ); export const withHiddenLabel = () => ( ); export const disabledInput = () => ( ); export const loading = () => ( ); export default { title: 'Components/Form Elements/TextInput', component: TextInput, parameters: { notes, }, };