HelperText

Providing additional information about a form input.

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

PropTypeDescription
classNamestringAdd a specific class to the `HelperText`
childrenReactNodeThe content to display inside the HelperText
errorbooleanChanges the appearance of component