Skip to main content
Version: 3.4.2

icon

Props


Reference

brand

Uses the brands font (FontAwesome5 only)

TypeDefault
booleanfalse

color

color of icon (optional)

TypeDefault
stringblack

Component

update React Native Component (optional)

TypeDefault
React Native componentView if no onPress method is defined, TouchableHighlight if onPress method is defined

containerStyle

add styling to container holding icon (optional)

TypeDefault
View style (object)inherited styling

disabled

Disables onPress events (optional). Only works when onPress has a handler.

TypeDefault
booleanfalse

disabledStyle

Style for the button when disabled (optional). Only works when onPress has a handler.

TypeDefault
View style (object){{ backgroundColor: '#D1D5D8' }}

iconProps

provide all props from react-native Icon component

TypeDefault
{...Icon props}none

iconStyle

additional styling to icon (optional)

TypeDefault
View style (object)inherited style

name

name of icon (required)

TypeDefault
stringnone

onLongPress

onLongPress method for button (optional)

TypeDefault
functionnone

onPress

onPress method for button (optional)

TypeDefault
functionnone

raised

adds box shadow to button (optional)

TypeDefault
booleanfalse

reverse

reverses color scheme (optional)

TypeDefault
booleanfalse

reverseColor

specify reverse icon color (optional)

TypeDefault
stringwhite

size

size of icon (optional)

TypeDefault
number26

solid

Uses the solid font (FontAwesome5 only)

TypeDefault
booleanfalse

type

type of icon set. Supported sets here.

TypeDefault
stringmaterial

underlayColor

underlayColor for press event

TypeDefault
stringicon color