@quanxi/ui
Version:
全悉组件库
14 lines (13 loc) • 423 B
TypeScript
import React, { CSSProperties } from "react";
import "./style.scss";
export type TooltipProps = {
style?: CSSProperties;
className?: string;
children: React.ReactNode;
content: string | React.ReactNode;
align?: "top" | "bottom" | "left" | "right";
color?: string;
onOpenChange?: (flag: boolean) => void;
zIndex?: number;
};
export default function Tooltip(props: TooltipProps): JSX.Element;