You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
338 B

## zh-CN
6 years ago
利用 `Icon` 组件封装一个可复用的自定义图标。可以通过 `component` 属性传入一个组件来渲染最终的图标,以满足特定的需求。
## en-US
6 years ago
Create a reusable React component by using `<Icon component={...} />`. The property `component` takes a React component that renders to `svg` element.