@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
13 lines (12 loc) • 429 B
TypeScript
import { RefObject } from 'react';
interface UseFloatingIndicatorInput {
target: HTMLElement | null | undefined;
parent: HTMLElement | null | undefined;
ref: RefObject<HTMLDivElement>;
displayAfterTransitionEnd?: boolean;
}
export declare function useFloatingIndicator({ target, parent, ref, displayAfterTransitionEnd, }: UseFloatingIndicatorInput): {
initialized: boolean;
hidden: boolean;
};
export {};