An icon indicator component.
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props | object | Component props. Properties
| ||||||||||||||||||||||||||||||
ref | object | | Ref to the component. |
- Since
- 1.1.15
Returns:
The icon indicator component.
- Type:
- JSX.
Element
Example
import IconIndicator from '@gravityforms/components/react/admin/modules/Indicators/IconIndicator';
return (
<IconIndicator icon="api" type="info">
{ children }
</IconIndicator>
);