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