@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.
11 lines (10 loc) • 381 B
TypeScript
import type { FloatingRootContext, ElementProps } from '@floating-ui/react';
interface UseFocusExtendedProps {
delay?: number;
}
/**
* @ignore - internal hook.
* Adds support for delay, since Floating UI's `useFocus` hook does not support it.
*/
export declare function useFocusExtended(context: FloatingRootContext, props?: UseFocusExtendedProps): ElementProps;
export {};