Icon
Component to display icon, it's a wrapper around the Icon component from react-native-vector-icons library.
Import
import { Icon } from "react-native-ficus-ui";Usage
Examples
EDITABLE EXAMPLE
Sizes
EDITABLE EXAMPLE
Back button
EDITABLE EXAMPLE
Props
Extends every Box
name
The name property (`name` style prop in StyleSheet).
| Type | Required | Default |
|---|---|---|
| string | Yes |
color
The color property (`color` style prop in StyleSheet).
| Type | Required | Default |
|---|---|---|
| string | No | gray.800 |
size
The size property.
| Type | Required | Default |
|---|---|---|
| string, number | No |
iconSet
The iconSet to use for the Icon
| Type | Required | Default |
|---|---|---|
| string | No | Ionicons |