Skip to Content
🎉 Coral now has an MCP Server, check out the docs
DocumentationMoleculesEnergyOverviewComponentsEnergyOverviewUnitToggle

EnergyOverviewUnitToggle

Sub-component of the EnergyOverview molecule.

Props

NameTypeDefault
onChange(event: SyntheticEvent<HTMLButtonElement, Event>, value: EnergyOverviewUnitTypes) => void

Callback fired when the unit toggle is changed.

  • event The event source of the callback. Warning: This is a generic event not a change event.
  • value The new value of the unit toggle.
disabledboolean
disabledTooltipTextstring
childrenReactNode
Last updated on