import React, { PropsWithChildren } from 'react' import { Card, CardTitle, Link, Paragraph, Tooltip } from 'react-icecream' import { CloseIcon, HelpIcon } from 'react-icecream/icons' export default function Demo() { return ( }>
} />} size="small" style={{ minWidth: '280px', margin: '6px' }}> 卡片内容 卡片内容 卡片内容 卡片内容 } />} style={{ minWidth: '280px', margin: '6px' }}> 卡片内容 卡片内容 卡片内容 卡片内容 查看更多} />} type="bordered" style={{ minWidth: '280px', margin: '6px' }}> 卡片内容 卡片内容 卡片内容 卡片内容 卡片内容 卡片内容 卡片内容 卡片内容
) } // 演示如果是 x 号如何增加热区大小 function ClickEasy({ children }: PropsWithChildren<{}>) { return (
console.log('closed')} style={{ position: 'absolute', right: '-10px', display: 'flex', padding: '10px' }}>{children}
) }