Component used for to add label, description, hint and error handling to input.
npm install @smashing/form-field``sh`
yarn add @smashing/form-field @smashing/form mobx-react-lite mobx
#### Basic example
> FormField must be wrapped in Form component.
`tsx
import {useForm} from '@smashing/form'
import {FormField} from '@smashing/form-field'
import {TextInput} from '@smashing/text-input'
const App = () => {
const {Form} = useForm({
initialValues: {
email: ''
}
})
return (
#### With description
`tsx
`#### With custom description
`tsx
`#### With hint
`tsx
`#### With custom hint
`tsx
`#### Inline label
`tsx
``