@bootstrap-styled/v4
Version:
twbs/bootstrap V4 UI Components made with bootstrap-styled. Work with css-in-js, react, styled-components, and Bootstrap Styled utilities.
19 lines (14 loc) • 395 B
Markdown
An `<Legend />` component defines a caption for the `<Fieldset />` component.
This component has no props.
`<Legend />` component example:
```js
import { Form, Fieldset, Legend, Input } from '$PACKAGE_NAME';
<Form>
<Fieldset>
<Legend>Register:</Legend>
Name: <Input type="text" />
Email: <Input type="text" />
Date of birth: <Input type="text" />
</Fieldset>
</Form>
```