Skip to main content

Accordion

This is the comment for AccordionComponent 2

Note

The style of the component can be modified via several methods

MethodDescription
theme(recommended method) this is descriptin
styled componentsThis is the description
cssthis is the css description

Example

<Accordion multiActive="false" />

Parameters

(Mandatory parameters are in bold)
ParametersTypeDescription
animatenumberDefaults to: 150
borderbooleana flag to indicate if the border is visible or not

Example:
false


Defaults to: true
classNamestring
ComponentFCC<Omit<AccordionProps, Component>>
modepush | pushToBottompush means that the height of the accordion panel is derived from the height of its content
pushToBottom means that the height of the accordion panel is the remaining space given by the accordion's container after removing the space taken by the other accordion panel titles (do not work if multiActive is true)

Defaults to: push
multiActivebooleanDefaults to: false