accordion-panel

v2.6.5arrow_drop_down
v2.6.5
v2.5.5
STATUS
Passing
DOWNLOADS
74
LICENSE
Apache 2.0
VISIBILITY
Public
PUBLISHED
3 months ago
subject
An Accordion panel.
1 contributor
Like
Use accordion-panel in your project ?
Copied
npm i @bit/grommet.grommet.accordion-panel
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
modified
chevron_left
chevron_right

AccordionPanel

An Accordion panel.

Properties

label

The panel label.

string
node

header

If specified, the entire panel header will be managed by the caller.

node

Intrinsic element

div

Theme

accordion.heading.level

The heading level used for the accordion. Expects number.

Defaults to

4

accordion.icons.collapse

The icon to use when the panel is expanded. Expects React.Element.

Defaults to

<FormUp />

accordion.icons.expand

The icon to use when the panel is collapsed. Expects React.Element.

Defaults to

<FormDown />

accordion.border

The border to use in the accordion. Expects React.Element.

Defaults to

side: bottom, color: border