new HelpText() → {Class}
A help text component for use in various form inputs mainly.
Parameters:
Name | Type | Description |
---|---|---|
options.content | string | Helper text. |
options.customAttributes | object | Any custom attributes. |
options.customClasses | Array | Any custom classes. |
options.id | string | Id for the helper text. |
options.size | string | The font size for the helper text. |
options.spacing | string | | The spacing for the component, string or array. |
options.weight | string | The font weight for the label. |
- Since
- 2.2.0
Returns:
The HelpText instance.
- Type:
- Class