diff --git a/src/editor/Plot/Tools/index.tsx b/src/editor/Plot/Tools/index.tsx index 12bc66c..aaeca30 100644 --- a/src/editor/Plot/Tools/index.tsx +++ b/src/editor/Plot/Tools/index.tsx @@ -1,17 +1,32 @@ +import { Tooltip } from "antd"; + +type IconWithTipProps = { + type: string, + text: string, + placement?: "top" | "right", +}; + +const IconWithTip = ({ type, text, placement="top" } : IconWithTipProps) => { + return ( + + + + ); +}; const Tools = () => { return ( <>
- - + +
- +
- +