@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.
13 lines • 582 B
TypeScript
import * as React from 'react';
export interface NumberFieldScrubAreaContext {
isScrubbing: boolean;
isTouchInput: boolean;
isPointerLockDenied: boolean;
scrubAreaCursorRef: React.RefObject<HTMLSpanElement | null>;
scrubAreaRef: React.RefObject<HTMLSpanElement | null>;
direction: 'horizontal' | 'vertical';
pixelSensitivity: number;
teleportDistance: number | undefined;
}
export declare const NumberFieldScrubAreaContext: React.Context<NumberFieldScrubAreaContext | undefined>;
export declare function useNumberFieldScrubAreaContext(): NumberFieldScrubAreaContext;