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.

3 lines 414 B
import type { OpenChangeReason as FloatingUIOpenChangeReason } from "../floating-ui-react/index.js"; export type BaseOpenChangeReason = 'trigger-press' | 'trigger-hover' | 'trigger-focus' | 'focus-out' | 'escape-key' | 'outside-press' | 'list-navigation' | 'item-press' | 'cancel-open'; export declare function translateOpenChangeReason(nativeReason?: FloatingUIOpenChangeReason): BaseOpenChangeReason | undefined;