@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 • 367 B
TypeScript
import type { FloatingRootContext, ElementProps } from "../../floating-ui-react/index.js";
interface UseFocusWithDelayProps {
delay?: number;
}
/**
* Adds support for delay, since Floating UI's `useFocus` hook does not support it.
*/
export declare function useFocusWithDelay(context: FloatingRootContext, props?: UseFocusWithDelayProps): ElementProps;
export {};