InputPressableProps

@chelseaapps/react-native-elements / Exports / InputPressableProps

Interface: InputPressableProps

Hierarchy

  • InputPressableElementProps

    InputPressableProps

Table of contents

Properties

  • bgColor

  • borderColor

  • icon

  • iconColor

  • iconName

  • iconSize

  • iconStyle

  • label

  • labelColor

  • labelStyle

  • noIcon

  • placeholderStyle

  • style

  • textColor

  • textStyle

  • value

Methods

  • onPress

Properties

bgColor

Optional bgColor: string

Container background color

Inherited from

InputPressableElementProps.bgColor

Defined in

src/InputPressable/index.tsx:46arrow-up-right


borderColor

Optional borderColor: string

Container border color

Inherited from

InputPressableElementProps.borderColor

Defined in

src/InputPressable/index.tsx:50arrow-up-right


icon

Optional icon: ReactElement<any, string | JSXElementConstructor<any>>

Icon component that should replace the default Font icon

Inherited from

InputPressableElementProps.icon

Defined in

src/InputPressable/index.tsx:17arrow-up-right


iconColor

Optional iconColor: string

Color of the current Font Icon color

Inherited from

InputPressableElementProps.iconColor

Defined in

src/InputPressable/index.tsx:19arrow-up-right


iconName

Optional iconName: string

Feather Icons icon name

Inherited from

InputPressableElementProps.iconName

Defined in

src/InputPressable/index.tsx:25arrow-up-right


iconSize

Optional iconSize: number

Size of the current Font Icon color - default 24

Inherited from

InputPressableElementProps.iconSize

Defined in

src/InputPressable/index.tsx:21arrow-up-right


iconStyle

Optional iconStyle: StyleProp<ViewStyle>

Styles of the Icon component

Inherited from

InputPressableElementProps.iconStyle

Defined in

src/InputPressable/index.tsx:23arrow-up-right


label

label: string

Small text above the value

Inherited from

InputPressableElementProps.label

Defined in

src/InputPressable/index.tsx:30arrow-up-right


labelColor

Optional labelColor: string

Small Txt above value color

Inherited from

InputPressableElementProps.labelColor

Defined in

src/InputPressable/index.tsx:52arrow-up-right


labelStyle

Optional labelStyle: StyleProp<TextStyle>

Small Txt above value styles

Inherited from

InputPressableElementProps.labelStyle

Defined in

src/InputPressable/index.tsx:42arrow-up-right


noIcon

Optional noIcon: boolean

If true, there will be no icon on the right side of the container

Inherited from

InputPressableElementProps.noIcon

Defined in

src/InputPressable/index.tsx:36arrow-up-right


placeholderStyle

Optional placeholderStyle: StyleProp<TextStyle>

Text in the middle styles - shows if no value is present

Inherited from

InputPressableElementProps.placeholderStyle

Defined in

src/InputPressable/index.tsx:44arrow-up-right


style

Optional style: StyleProp<ViewStyle>

View Container styles - including errors and info text

Inherited from

InputPressableElementProps.style

Defined in

src/InputPressable/index.tsx:38arrow-up-right


textColor

Optional textColor: string

Value text color

Inherited from

InputPressableElementProps.textColor

Defined in

src/InputPressable/index.tsx:48arrow-up-right


textStyle

Optional textStyle: StyleProp<TextStyle>

Value Txt styles

Inherited from

InputPressableElementProps.textStyle

Defined in

src/InputPressable/index.tsx:40arrow-up-right


value

Optional value: string

Value text

Inherited from

InputPressableElementProps.value

Defined in

src/InputPressable/index.tsx:32arrow-up-right

Methods

onPress

Optional onPress(): void

Action to be taken onPress

Returns

void

Inherited from

InputPressableElementProps.onPress

Defined in

src/InputPressable/index.tsx:34arrow-up-right

Last updated

Was this helpful?