UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

18 lines 495 B
export declare function removeFloatingPointErrors(value: number, format?: Intl.NumberFormatOptions): number; export declare function toValidatedNumber(value: number | null, { step, minWithDefault, maxWithDefault, minWithZeroDefault, format, snapOnStep, small }: { step: number | undefined; minWithDefault: number; maxWithDefault: number; minWithZeroDefault: number; format: Intl.NumberFormatOptions | undefined; snapOnStep: boolean; small: boolean; }): number | null;