UNPKG

@base-ui/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.

20 lines 535 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, clamp: shouldClamp }: { step: number | undefined; minWithDefault: number; maxWithDefault: number; minWithZeroDefault: number; format: Intl.NumberFormatOptions | undefined; snapOnStep: boolean; small: boolean; clamp: boolean; }): number | null;