Icon

Icon controls

Examples

<Icon name="thumb-up" />

Variations

Size

<Icon name="thumb-up" size={24} />
<Icon name="thumb-up" size={44} />
<Icon name="thumb-up" size={64} />
<Icon name="thumb-up" size={84} />

Color

<Icon name="thumb-up" color="red" />
<Icon name="thumb-up" color="green" />
<Icon name="thumb-up" color="blue" />
<Icon name="thumb-up" color="yellow" />

API

Props

Name Description Type Optional value Default
size Icon size number - -
color Icon color string - -

Based on https://github.com/oblador/react-native-vector-icons/