M
mebius

useControllableState · mebius

State a parent can control (value + onChange) or leave to the component (defaultValue); used by the segmented control, the tabs and the chart cards.

npx shadcn@latest add @mebius/charts-use-controllable-state
Loading the source for charts-use-controllable-state…

charts-use-controllable-state