@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.
4 lines (3 loc) • 311 B
TypeScript
import type { OpenChangeReason as NativeReason } from '@floating-ui/react';
export type OpenChangeReason = 'click' | 'hover' | 'focus' | 'focus-out' | 'escape-key' | 'outside-press' | 'trigger-press';
export declare function translateOpenChangeReason(nativeReason?: NativeReason): OpenChangeReason | undefined;