import React from 'react'; import { SearchOutlined, MinusSquareOutlined } from '@ant-design/icons'; import { Button, ConfigProvider, Divider, Flex, Radio, Tooltip } from 'antd'; import type { ConfigProviderProps } from 'antd'; type SizeType = ConfigProviderProps['componentSize']; /**12px 图标 */ const Icon12Size = () =>
; /**16px 图标 */ const Icon16Size = () =>
; /**不规则宽高 */ const IconIrregularSize = () =>
; const App: React.FC = () => { const [size, setSize] = React.useState('large'); return ( <> setSize(e.target.value)}> Large Default Small Preview