import { TextAreaField } from 'grommet-controls';
() => ( <Form onSubmit={() => console.log('onSubmit')} pad={{ horizontal: 'small' }} focusFirstChild={false} > <TextAreaField rows={3} label="Short bio" name="bio" /> <Box pad="small"> <Button type="submit" label="Submit" /> </Box> </Form>)
atanasster
() => ( <Form onSubmit={() => console.log('onSubmit')} pad={{ horizontal: 'small' }} focusFirstChild={false} > <TextAreaField rows={6} label="Short bio" name="bio" inField={false} /> <Box pad="small"> <Button type="submit" label="Submit" /> </Box> </Form>)
() => ( <Form onSubmit={() => console.log('onSubmit')} pad={{ horizontal: 'small' }} focusFirstChild={false} > <TextAreaField rows={6} label="Short bio" name="bio" validation={[validators.required()]} /> <Box pad="small"> <Button type="submit" label="Submit" /> </Box> </Form>)