FormLabel
FormLabel can be used for adding label for your input fields. Twigs also comes with a FormInput component, which wraps Label and Input in a single component.
Import
import { FormLabel } from "@sparrowengg/twigs-react";
Usage
Props
| Property | Description | Type | Default |
|---|---|---|---|
| size | Size of the FormLabel | xs sm | sm |
| requiredIndicator | Show required indicator next to label | boolean, JSX Element | false |