@itwin/quantity-formatting-react
Version:
React components and utilities for quantity formatting
24 lines • 924 B
TypeScript
import type { FormatProps } from "@itwin/core-quantity";
/** Properties of [[UseThousandsSeparator]] component.
* @internal
*/
export interface UseThousandsSeparatorProps {
formatProps: FormatProps;
onChange: (format: FormatProps) => void;
}
/** Component to enable/disable the use of thousand separator.
* @internal
*/
export declare function UseThousandsSeparator(props: UseThousandsSeparatorProps): import("react/jsx-runtime").JSX.Element;
/** Properties of [[ThousandsSeparatorSelector]] component.
* @internal
*/
export interface ThousandsSeparatorSelectorProps {
formatProps: FormatProps;
onChange: (format: FormatProps) => void;
}
/** Component to select the thousands separator character.
* @internal
*/
export declare function ThousandsSeparatorSelector(props: ThousandsSeparatorSelectorProps): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=ThousandsSeparator.d.ts.map