import { FormField } from './FormField.js'
import { TextInput } from '../TextInput/index.js'

export const Default = () => {
  return (
    <FormField label="Label" description="Description text" error="Error text">
      <TextInput error onChange={() => {}} />
    </FormField>
  )
}

export const WithNote = () => {
  return (
    <FormField
      label="Label"
      note={{ title: 'Title', description: 'Description' }}
    >
      <TextInput error onChange={() => {}} />
    </FormField>
  )
}
