Paramount
Edit page
IntroductionCustomizationLayout
Components
AlertAvatarBadgeBoxButtonCheckboxCollapsibleUsagePropsOverridesContainerCounterDialogDividerDrawerFormFieldHeadingIconLabelListItemListPickerModalNativePickerParagraphPickerPopoverProgressBarRatingRow and ColumnSliderSwitchTextTextInputToastVisibleWheelPicker
ContributingReadme

Collapsible

Component to reveal and hide content

Usage

Uncontrolled

Toggle

Controlled

Open collapsible

Props

overrides
Partial<{ touchable: overridewithstyle<collapsiblebaseprops, touchableprops, styleprop<viewstyle>>; title: overridewithstyle<collapsiblebaseprops, titleprops, style<textprops, textstyle>>; iconopen: overridewithstyle<...>; iconclose: overridewithstyle<...>; content: overridewithstyle<...>; }> | undefined
title
Optionalstring
children
Reactnode
initialIsOpen
Boolean | undefined
false
isOpen
Boolean | undefined
false
onOpen
(() => void) | undefined
onClose
(() => void) | undefined
testID
String | undefined

Overrides

export interface CollapsibleOverrides {
Touchable: TouchableProps;
Title: TitleProps;
IconOpen: IconProps;
IconClose: IconProps;
Content: ContentProps;
}