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.

15 lines 545 B
export type Direction = -1 | 1; export type DirectionalChangeReason = 'increment-press' | 'decrement-press' | 'wheel' | 'scrub' | 'keyboard'; export interface ChangeEventCustomProperties { direction?: Direction | undefined; } export interface IncrementValueParameters { direction: Direction; event?: (Event | React.SyntheticEvent) | undefined; reason: DirectionalChangeReason; currentValue?: (number | null) | undefined; } export interface EventWithOptionalKeyState { altKey?: boolean | undefined; shiftKey?: boolean | undefined; }