mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 15:46:10 +08:00
b29c314b4c
* button documentation grammar fixes * english float button documentation changes * english documentation grammar changes for icons * english typography documentation grammar changes * english divider documenation changes * english layout documentation fixes * english cascader documentation improvements * english color-picker documentation changes * english date-picker documentation changes * english form documentation changes * English documentation changes for select * English documentation changes for slider * English documentation changes for time-picker * English documenation changes for transfer
340 B
340 B
zh-CN
利用 Icon
组件封装一个可复用的自定义图标。可以通过 component
属性传入一个组件来渲染最终的图标,以满足特定的需求。
en-US
Create a reusable React component by using <Icon component={...} />
. The property component
takes a React component that renders to a svg
element.