import React from 'react';
import { MinusSquareOutlined, SearchOutlined } from '@ant-design/icons';
import { Button, ConfigProvider, Divider, Flex, Radio, Tooltip, Input } from 'antd';
import type { ConfigProviderProps } from 'antd';
import { FiColumns } from 'react-icons/fi';
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
} />
}>
Search
} />
}>Search
} />
}>Search
} />
}>
Search
} href="https://www.google.com" target="_blank" />
👇🏻 https://github.com/ant-design/ant-design/issues/51811 👇🏻
}>with icon
👇🏻 https://github.com/ant-design/ant-design/issues/52124 👇🏻
}
style={{
height: 60,
}}
>
with icon
👇🏻 https://github.com/ant-design/ant-design/issues/51380 👇🏻
} />
}>
custom icon
} />
}>with icon
👇🏻 https://github.com/ant-design/ant-design/issues/51380 👇🏻
} />
} />
} />
} />
>
);
};
export default App;