DropdownLinkProps
@chelseaapps/react-native-elements / Exports / DropdownLinkProps
Interface: DropdownLinkProps
Hierarchy
DropdownLinkElementProps↳
DropdownLinkProps
Table of contents
Properties
bgColor
borderColor
control
disabled
dropdown
error
errorTextStyle
icon
iconColor
iconName
iconSize
iconStyle
labelStyle
navigateTo
placeholderStyle
setDropdown
setValue
style
textStyle
validation
Methods
onPress
Properties
bgColor
• Optional bgColor: string
Background color of the container
Inherited from
DropdownLinkElementProps.bgColor
Defined in
borderColor
• Optional borderColor: string
Container border color
Inherited from
DropdownLinkElementProps.borderColor
Defined in
control
• Optional control: Control<any, object>
React hook form control
Inherited from
DropdownLinkElementProps.control
Defined in
disabled
• Optional disabled: boolean
If true, the dropdown is untappable
Inherited from
DropdownLinkElementProps.disabled
Defined in
dropdown
• Optional dropdown: DropdownState
Current dropdown state
Inherited from
DropdownLinkElementProps.dropdown
Defined in
error
• Optional error: FieldError
React hook form error
Inherited from
DropdownLinkElementProps.error
Defined in
errorTextStyle
• Optional errorTextStyle: StyleProp<TextStyle>
Error Txt styles
Inherited from
DropdownLinkElementProps.errorTextStyle
Defined in
icon
• Optional icon: ReactElement<any, string | JSXElementConstructor<any>>
Icon component that should replace the default Font icon
Inherited from
DropdownLinkElementProps.icon
Defined in
src/InputPressable/index.tsx:17
iconColor
• Optional iconColor: string
Color of the current Font Icon color
Inherited from
DropdownLinkElementProps.iconColor
Defined in
src/InputPressable/index.tsx:19
iconName
• Optional iconName: string
Feather Icons icon name
Inherited from
DropdownLinkElementProps.iconName
Defined in
src/InputPressable/index.tsx:25
iconSize
• Optional iconSize: number
Size of the current Font Icon color - default 24
Inherited from
DropdownLinkElementProps.iconSize
Defined in
src/InputPressable/index.tsx:21
iconStyle
• Optional iconStyle: StyleProp<ViewStyle>
Styles of the Icon component
Inherited from
DropdownLinkElementProps.iconStyle
Defined in
src/InputPressable/index.tsx:23
labelStyle
• Optional labelStyle: StyleProp<TextStyle>
Small top label Txt styles
Inherited from
DropdownLinkElementProps.labelStyle
Defined in
navigateTo
• Optional navigateTo: any
Optional prop to navigate to a different page than selectDropdown
Inherited from
DropdownLinkElementProps.navigateTo
Defined in
placeholderStyle
• Optional placeholderStyle: StyleProp<TextStyle>
Empty selection placeholder Txt styles
Inherited from
DropdownLinkElementProps.placeholderStyle
Defined in
setDropdown
• Optional setDropdown: Dispatch<SetStateAction<DropdownState>>
Change dropdown state
Inherited from
DropdownLinkElementProps.setDropdown
Defined in
setValue
• Optional setValue: UseFormSetValue<any>
React hook form setValue
Inherited from
DropdownLinkElementProps.setValue
Defined in
style
• Optional style: StyleProp<ViewStyle>
View container style
Inherited from
DropdownLinkElementProps.style
Defined in
textStyle
• Optional textStyle: StyleProp<TextStyle>
Value Txt styles
Inherited from
DropdownLinkElementProps.textStyle
Defined in
validation
• Optional validation: Partial<Object>
React hook form validation
Inherited from
DropdownLinkElementProps.validation
Defined in
Methods
onPress
▸ Optional onPress(): void
Additional action that should happen on press if needed
Returns
void
Inherited from
DropdownLinkElementProps.onPress
Defined in
Last updated
Was this helpful?