import React from 'react' import styles from './index.module.less' import { Popover } from 'antd' import { InfoCircleOutlined } from '@ant-design/icons' export type ContentItem = { title: string text: string } type ComponentProps = { label: string title: string content: ContentItem[] } const PopoverTip: React.FC = ({ label, title, content }) => { const contentEle = content.map(_ => ) return ( {label} ) } type PopoverTipContentItemProps = { content: ContentItem } const PopoverTipContentItem: React.FC = ({ content }) => { const { title, text } = content return (
{title}
{text}
) } export default PopoverTip