HelperText
Providing additional information about a form input.
Version 0.3.6
Installation
To install @igloo-ui/helper-text
in your project, you will need to run the following command using npm:
npm install @igloo-ui/helper-text
If you prefer Yarn, use the following command instead:
yarn add @igloo-ui/helper-text
Usage
Then to use the component in your code just import it!
import HelperText from '@igloo-ui/helper-text';
<HelperText>Additional information</HelperText>;
API
Prop | Type | Default | Description |
---|---|---|---|
className | string | - | Add a specific class to the `HelperText` |
children | ReactNode | - | The content to display inside the HelperText |
error | boolean | - | Changes the appearance of component |