UNPKG

@itwin/quantity-formatting-react

Version:

React components and utilities for quantity formatting

18 lines 702 B
import "./FormatPanel.scss"; import type { FormatDefinition } from "@itwin/core-quantity"; import type { UnitsProvider } from "@itwin/core-quantity"; /** Properties of [[QuantityFormatPanel]] component. * @beta */ export interface QuantityFormatPanelProps { formatDefinition: FormatDefinition; unitsProvider: UnitsProvider; onFormatChange: (formatProps: FormatDefinition) => void; initialMagnitude?: number; showSample?: boolean; } /** Quantity Format Panel that uses the new FormatPanel structure * @beta */ export declare function QuantityFormatPanel(props: QuantityFormatPanelProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=QuantityFormatPanel.d.ts.map