ChartExpandAction
Expand / collapse toggle rendered in a dashboard chart card's header. Swaps between a maximize and a minimize glyph based on `isExpanded`.
Expand / collapse toggle rendered in a dashboard chart card's header. Swaps between a maximize and a minimize glyph based on isExpanded.
import { ChartExpandAction } from "@tetherto/mdk-react-devkit";| Prop | Status | Type | Default | Description |
|---|---|---|---|---|
isExpanded | Required | boolean | — | Whether the parent chart is currently expanded to full width. |
onToggle | Optional | VoidFunction | undefined | — | Toggles the expanded state. |