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.

9 lines 394 B
import type { FloatingRootContext, ElementProps } from "../../floating-ui-react/index.js"; interface UseFocusWithDelayProps { delay?: number | (() => number | undefined); } /** * Adds support for delay, since Floating UI's `useFocus` hook does not support it. */ export declare function useFocusWithDelay(store: FloatingRootContext, props?: UseFocusWithDelayProps): ElementProps; export {};