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

src/Icon/index.tsx:45arrow-up-right


fontName

fontName: IconsPackage

Font name in case the type is font

Inherited from

IconElementProps.fontName

Defined in

src/Icon/index.tsx:37arrow-up-right


name

name: string

Name of the font icon (https://oblador.github.io/react-native-vector-icons/)

Inherited from

IconElementProps.name

Defined in

src/Icon/index.tsx:41arrow-up-right


size

Optional size: number

Size of the font icon

Inherited from

IconElementProps.size

Defined in

src/Icon/index.tsx:43arrow-up-right


style

Optional style: StyleProp<TextStyle>

Style of the Font Icon component

Inherited from

IconElementProps.style

Defined in

src/Icon/index.tsx:39arrow-up-right


svgComponent

Optional svgComponent: undefined

Component to be passed if the type is SVG

Inherited from

IconElementProps.svgComponent

Defined in

src/Icon/index.tsx:35arrow-up-right


type

type: "font" | "svg"

Determine weather the Icon will be from a Font or a custom SVG

Inherited from

IconElementProps.type

Defined in

src/Icon/index.tsx:33arrow-up-right

Last updated

Was this helpful?