A form input helper text component.
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props | object | Component props. Properties
| |||||||||||||||||||||||||||
ref | object | | Ref to the component. |
- Since
- 1.1.18
- Source
Returns:
The help text component.
- Type:
- JSX.
Element
Example
import HelpText from '@gravityforms/components/react/admin/elements/HelpText';
return <HelpText content="This is required." />;