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

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


borderColor

Optional borderColor: string

Container border color

Inherited from

DropdownLinkElementProps.borderColor

Defined in

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


control

Optional control: Control<any, object>

React hook form control

Inherited from

DropdownLinkElementProps.control

Defined in

src/DropdownLink/index.tsx:22arrow-up-right


disabled

Optional disabled: boolean

If true, the dropdown is untappable

Inherited from

DropdownLinkElementProps.disabled

Defined in

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


Optional dropdown: DropdownState

Current dropdown state

Inherited from

DropdownLinkElementProps.dropdown

Defined in

src/DropdownLink/index.tsx:18arrow-up-right


error

Optional error: FieldError

React hook form error

Inherited from

DropdownLinkElementProps.error

Defined in

src/DropdownLink/index.tsx:28arrow-up-right


errorTextStyle

Optional errorTextStyle: StyleProp<TextStyle>

Error Txt styles

Inherited from

DropdownLinkElementProps.errorTextStyle

Defined in

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


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:17arrow-up-right


iconColor

Optional iconColor: string

Color of the current Font Icon color

Inherited from

DropdownLinkElementProps.iconColor

Defined in

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


iconName

Optional iconName: string

Feather Icons icon name

Inherited from

DropdownLinkElementProps.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

DropdownLinkElementProps.iconSize

Defined in

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


iconStyle

Optional iconStyle: StyleProp<ViewStyle>

Styles of the Icon component

Inherited from

DropdownLinkElementProps.iconStyle

Defined in

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


labelStyle

Optional labelStyle: StyleProp<TextStyle>

Small top label Txt styles

Inherited from

DropdownLinkElementProps.labelStyle

Defined in

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


Optional navigateTo: any

Optional prop to navigate to a different page than selectDropdown

Inherited from

DropdownLinkElementProps.navigateTo

Defined in

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


placeholderStyle

Optional placeholderStyle: StyleProp<TextStyle>

Empty selection placeholder Txt styles

Inherited from

DropdownLinkElementProps.placeholderStyle

Defined in

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


setDropdown

Optional setDropdown: Dispatch<SetStateAction<DropdownState>>

Change dropdown state

Inherited from

DropdownLinkElementProps.setDropdown

Defined in

src/DropdownLink/index.tsx:20arrow-up-right


setValue

Optional setValue: UseFormSetValue<any>

React hook form setValue

Inherited from

DropdownLinkElementProps.setValue

Defined in

src/DropdownLink/index.tsx:26arrow-up-right


style

Optional style: StyleProp<ViewStyle>

View container style

Inherited from

DropdownLinkElementProps.style

Defined in

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


textStyle

Optional textStyle: StyleProp<TextStyle>

Value Txt styles

Inherited from

DropdownLinkElementProps.textStyle

Defined in

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


validation

Optional validation: Partial<Object>

React hook form validation

Inherited from

DropdownLinkElementProps.validation

Defined in

src/DropdownLink/index.tsx:24arrow-up-right

Methods

onPress

Optional onPress(): void

Additional action that should happen on press if needed

Returns

void

Inherited from

DropdownLinkElementProps.onPress

Defined in

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

Last updated

Was this helpful?