OptionalWrapperProps

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

Interface: OptionalWrapperProps<T>

Type parameters

Name
Type

T

extends unknown

Hierarchy

  • OptionalWrapperElementProps<T>

    OptionalWrapperProps

Table of contents

Properties

  • children

  • data

  • elseComponent

Properties

children

children: ReactNode

Elements that sit inside this wrapper

Inherited from

OptionalWrapperElementProps.children

Defined in

src/Wrapper/OptionalWrapper.tsx:7arrow-up-right


data

data: null | T

Data to check against

Inherited from

OptionalWrapperElementProps.data

Defined in

src/Wrapper/OptionalWrapper.tsx:5arrow-up-right


elseComponent

Optional elseComponent: ReactNode

Component to show if data is null | undefined

Inherited from

OptionalWrapperElementProps.elseComponent

Defined in

src/Wrapper/OptionalWrapper.tsx:9arrow-up-right

Last updated

Was this helpful?