import { Popover } from "antd"; import { InfoCircleOutlined } from "@ant-design/icons"; import { Typography } from "antd"; const { Link } = Typography; interface IWidgetNoteCtl { trigger?: string; //界面上显示的文字 note?: string; //note内容 children?: React.ReactNode; } const NoteCtl = ({ trigger, _____note, children }: IWidgetNoteCtl) => { const show = trigger ? trigger : ; return ( <> {children}} placement="bottom" > {show} ); }; interface IWidget { props: string; children?: React.ReactNode; } const Widget = ({ props, children }: IWidget) => { const prop = JSON.parse(atob(props)) as IWidgetNoteCtl; return {children}; }; export default Widget;