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:46
borderColor
• Optional borderColor: string
Container border color
Inherited from
InputPressableElementProps.borderColor
Defined in
src/InputPressable/index.tsx:50
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:17
iconColor
• Optional iconColor: string
Color of the current Font Icon color
Inherited from
InputPressableElementProps.iconColor
Defined in
src/InputPressable/index.tsx:19
iconName
• Optional iconName: string
Feather Icons icon name
Inherited from
InputPressableElementProps.iconName
Defined in
src/InputPressable/index.tsx:25
iconSize
• Optional iconSize: number
Size of the current Font Icon color - default 24
Inherited from
InputPressableElementProps.iconSize
Defined in
src/InputPressable/index.tsx:21
iconStyle
• Optional iconStyle: StyleProp<ViewStyle>
Styles of the Icon component
Inherited from
InputPressableElementProps.iconStyle
Defined in
src/InputPressable/index.tsx:23
label
• label: string
Small text above the value
Inherited from
InputPressableElementProps.label
Defined in
src/InputPressable/index.tsx:30
labelColor
• Optional labelColor: string
Small Txt above value color
Inherited from
InputPressableElementProps.labelColor
Defined in
src/InputPressable/index.tsx:52
labelStyle
• Optional labelStyle: StyleProp<TextStyle>
Small Txt above value styles
Inherited from
InputPressableElementProps.labelStyle
Defined in
src/InputPressable/index.tsx:42
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:36
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:44
style
• Optional style: StyleProp<ViewStyle>
View Container styles - including errors and info text
Inherited from
InputPressableElementProps.style
Defined in
src/InputPressable/index.tsx:38
textColor
• Optional textColor: string
Value text color
Inherited from
InputPressableElementProps.textColor
Defined in
src/InputPressable/index.tsx:48
textStyle
• Optional textStyle: StyleProp<TextStyle>
Value Txt styles
Inherited from
InputPressableElementProps.textStyle
Defined in
src/InputPressable/index.tsx:40
value
• Optional value: string
Value text
Inherited from
InputPressableElementProps.value
Defined in
src/InputPressable/index.tsx:32
Methods
onPress
▸ Optional onPress(): void
Action to be taken onPress
Returns
void
Inherited from
InputPressableElementProps.onPress
Defined in
Last updated
Was this helpful?