@geist-ui/react
Version:
Modern and minimalist React UI library.
19 lines (18 loc) • 548 B
TypeScript
import React, { MutableRefObject } from 'react';
import { Placement, SnippetTypes } from "../utils/prop-types";
interface Props {
parent?: MutableRefObject<HTMLElement | null> | undefined;
placement: Placement;
type: SnippetTypes;
visible: boolean;
hideArrow: boolean;
offset: number;
className?: string;
iconOffset: TooltipIconOffset;
}
export declare type TooltipIconOffset = {
x: string;
y: string;
};
declare const TooltipContent: React.FC<React.PropsWithChildren<Props>>;
export default TooltipContent;