/** @packageDocumentation * @module QuantityFormat */ import "./FormatPanel.scss"; import * as React from "react"; import type { FormatProps, UnitProps, UnitsProvider } from "@itwin/core-quantity"; import { FormatterSpec } from "@itwin/core-quantity"; import type { CommonProps } from "@itwin/core-react"; /** Properties of [[FormatPanel]] component. * @alpha * @deprecated in 4.17.0. Use `React.ComponentProps` */ export interface FormatPanelProps extends CommonProps { initialFormat: FormatProps; unitsProvider: UnitsProvider; persistenceUnit: Promise | UnitProps; showSample?: boolean; initialMagnitude?: number; enableMinimumProperties?: boolean; onFormatChange?: (format: FormatProps) => void; provideFormatSpec?: (formatProps: FormatProps, persistenceUnit: UnitProps, unitsProvider: UnitsProvider) => Promise; providePrimaryChildren?: (formatProps: FormatProps, fireFormatChange: (newProps: FormatProps) => void) => React.ReactNode; provideSecondaryChildren?: (formatProps: FormatProps, fireFormatChange: (newProps: FormatProps) => void) => React.ReactNode; } type FormatPanelPropsWithoutPersistenceUnit = Omit & Partial>; /** Component to show/edit Quantity Format. * @alpha */ export declare function FormatPanel(props: FormatPanelPropsWithoutPersistenceUnit): React.JSX.Element; export {}; //# sourceMappingURL=FormatPanel.d.ts.map