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.

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