The Icon component is our wrapper component for react-ionicons.
| Prop | Type | Description |
|---|---|---|
| onClick | func | You have the ability to set a callback for the Icon's click event. |
| icon | string | You can find the appropriate strings for each icon under our icon page. |
All off the props from react-ionicons's GitHub page can be applied.
<Icon icon="ion-ios-clock" />
/* or */
<Icon icon="ion-ios-clock" rotate={ true } />