modules
@chelseaapps/react-native-elements / Exports
@chelseaapps/react-native-elements
Table of contents
Interfaces
ButtonProps
CheckboxSelectRowProps
DefaultButtonProps
DropdownItem
DropdownLinkProps
DropdownState
ErrorWrapperProps
FieldsErrors
FieldsType
IconProps
InputPressableProps
InputProps
LoadingWrapperProps
OptionalWrapperProps
OutlineButtonProps
RadioSelectRowProps
RoundedButtonProps
SwitchRowProps
TextareaLinkProps
TextareaProps
TxtProps
WrapperProps
Type aliases
InputValidations
Functions
Button
CheckboxSelectRow
DefaultButton
DropdownLink
ErrorWrapper
Icon
Input
InputPressable
LoadingWrapper
OptionalWrapper
OutlineButton
RadioSelectRow
RoundedButton
SwitchRow
Textarea
TextareaLink
Txt
Wrapper
Type aliases
InputValidations
Ƭ InputValidations<T>: { [K in keyof T]: RegisterOptions }
Type parameters
T
Defined in
Functions
Button
▸ Const Button(props): Element
Initial button component
Parameters
props
ButtonProps
Returns
Element
A pressable text.
Defined in
CheckboxSelectRow
▸ Const CheckboxSelectRow(props): Element
Checkbox Row Component to be used as part of selectDropdown page
Parameters
props
CheckboxSelectRowProps
Returns
Element
A pressable row that changes dropdown state.
Defined in
DefaultButton
▸ Const DefaultButton(props): Element
Button with a full background colors and rounded corners
Parameters
props
DefaultButtonProps
Returns
Element
A pressable button.
Defined in
DropdownLink
▸ Const DropdownLink(props): Element
Dropdown Select Component
Parameters
props
DropdownLinkProps
Returns
Element
A pressable container that links to the selection page.
Defined in
ErrorWrapper
▸ Const ErrorWrapper(props): Element
A variation of the wrapper component.
Parameters
props
ErrorWrapperProps
Returns
Element
A Wrapper component that will check if there were any issues with the API Queries. Can be used only with CA GraphQL APIs.
Defined in
Icon
▸ Const Icon(props): Element
Global Icon component
Parameters
props
IconProps
Returns
Element
Highly customizable Icon component that can output a Font icon (https://oblador.github.io/react-native-vector-icons/) or a custom SVG icon.
Defined in
Input
▸ Const Input(props): Element
Animated Input Component
Parameters
props
InputProps
Returns
Element
Ready to use Input with validation from react hook form
Defined in
InputPressable
▸ Const InputPressable(props): Element
Static "fake" Input
Parameters
props
InputPressableProps
Returns
Element
Input component that can be pressed
Defined in
LoadingWrapper
▸ Const LoadingWrapper(props): Element
Loading Wrapper component
Parameters
props
LoadingWrapperProps
Returns
Element
Container to be used as the loading indicator on all pages.
Defined in
OptionalWrapper
▸ Const OptionalWrapper<T>(props): Element
A component that replaces the need to check for data in JSX (data ? : <></>)
Type parameters
T
extends unknown
Parameters
props
OptionalWrapperProps<T>
Returns
Element
A container view.
Defined in
OutlineButton
▸ Const OutlineButton(props): Element
Button with a transparent background color and rounded border
Parameters
props
OutlineButtonProps
Returns
Element
A pressable button.
Defined in
RadioSelectRow
▸ Const RadioSelectRow(props): Element
Radio Row Component to be used as part of selectDropdown page
Parameters
props
RadioSelectRowProps
Returns
Element
A pressable row that changes dropdown state.
Defined in
RoundedButton
▸ Const RoundedButton(props): Element
Button with a full background and full rounded corners
Parameters
props
RoundedButtonProps
Returns
Element
A pressable button.
Defined in
SwitchRow
▸ Const SwitchRow(props): Element
Switch component
Parameters
props
SwitchRowProps
Returns
Element
A component that can change a boolean state with a switch. It's not part of the react hook form.
Defined in
Textarea
▸ Const Textarea(props): Element
Expandable Textarea component
Parameters
props
TextareaProps
Inherited from the InputProps
Returns
Element
A textarea that can change its height based on the value inside. Validation based on react-hook-form.
Defined in
TextareaLink
▸ Const TextareaLink(props): Element
Textarea component that links to a different page
Parameters
props
TextareaLinkProps
Returns
Element
A textarea that changes the current page to enter the value. Dependent on textareaEdit page. Validation based on react-hook-form.
Defined in
Txt
▸ Const Txt(props): Element
Global Text Component
Parameters
props
TxtProps
Returns
Element
A text component that has the specific project fonts and sizing. To be used everywhere within the app.
Defined in
Wrapper
▸ Const Wrapper(props): Element
Wrapper component
Parameters
props
WrapperProps
Returns
Element
Component to be used as the main container on all pages.
Defined in
Last updated
Was this helpful?