Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 588 Bytes

File metadata and controls

22 lines (14 loc) · 588 Bytes

Icon

The Icon component is our wrapper component for react-ionicons.

Props

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.

Examples

<Icon icon="ion-ios-clock" />

/* or */

<Icon icon="ion-ios-clock" rotate={ true } />