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:7
data
• data: null | T
Data to check against
Inherited from
OptionalWrapperElementProps.data
Defined in
src/Wrapper/OptionalWrapper.tsx:5
elseComponent
• Optional elseComponent: ReactNode
Component to show if data is null | undefined
Inherited from
OptionalWrapperElementProps.elseComponent
Defined in
Last updated
Was this helpful?