@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.
6 lines • 297 B
TypeScript
import type { UseFloatingOptions, UseFloatingReturn } from "../types.js";
/**
* Provides data to position a floating element and context to add interactions.
* @see https://floating-ui.com/docs/useFloating
*/
export declare function useFloating(options?: UseFloatingOptions): UseFloatingReturn;