AccordeonPanel
AccordeonPanel wraps multiple child panels into one collapsible accordion panel.
Usage
Use AccordeonPanel when one panel should expand into several collapsible subsections.
import {AccordeonPanel, type AccordeonPanelProps} from '@deck.gl-community/panels';
Props
type AccordeonPanelProps = {
panels: Record<string, Panel>;
id?: string;
title?: string;
theme?: 'inherit' | 'light' | 'dark' | 'invert';
};
See Also
Remarks
- Normalizes an object map of child panels into insertion-order accordion sections.
- Produces one composite panel that can be used directly or passed into the deck.gl wrapper module.