/**
 * @description tooltip的下单面板定制
 *
 * @date 创建时间 2022-10-28 15:38
 * @author 开发人员
 */

import React from "react";
import { Tooltip, TooltipProps } from "@atomintl/aui-next";

interface Props extends TooltipProps {}

const CustomToolTip: React.FC<Props> = props => {
  const { children, ...othersProps } = props;
  return (
    <Tooltip {...othersProps} className="!text-[12px] text-gray-1 leading-[1.5]">
      {children}
    </Tooltip>
  );
};

export default CustomToolTip;
