IconProps
@chelseaapps/react-native-elements / Exports / IconProps
Interface: IconProps
Hierarchy
IconElementProps↳
IconProps
Table of contents
Properties
color
fontName
name
size
style
svgComponent
type
Properties
color
• Optional color: string
Color of the font icon
Inherited from
IconElementProps.color
Defined in
fontName
• fontName: IconsPackage
Font name in case the type is font
Inherited from
IconElementProps.fontName
Defined in
name
• name: string
Name of the font icon (https://oblador.github.io/react-native-vector-icons/)
Inherited from
IconElementProps.name
Defined in
size
• Optional size: number
Size of the font icon
Inherited from
IconElementProps.size
Defined in
style
• Optional style: StyleProp<TextStyle>
Style of the Font Icon component
Inherited from
IconElementProps.style
Defined in
svgComponent
• Optional svgComponent: undefined
Component to be passed if the type is SVG
Inherited from
IconElementProps.svgComponent
Defined in
type
• type: "font" | "svg"
Determine weather the Icon will be from a Font or a custom SVG
Inherited from
IconElementProps.type
Defined in
Last updated
Was this helpful?