mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
Fix icon API documentation
This commit is contained in:
parent
1682d2cd14
commit
d7837da175
@ -74,3 +74,4 @@ You can set `style` and `className` for size and color of icons because they are
|
||||
|----------|------------------|------- |---------|
|
||||
| type | Type of ant design icons | string | - |
|
||||
| spin | Rotate icon with animation | boolean | false |
|
||||
| style | style properties of icon, like fontSize and color | object | - |
|
||||
|
@ -75,3 +75,4 @@ ReactDOM.render(<IconSet className="icons" catigory="logo" />, mountNode);
|
||||
|----------|------------------|----------|--------|
|
||||
| type | 图标类型 | string | - |
|
||||
| spin | 是否有旋转动画 | boolean | false |
|
||||
| style | 设置图标的样式,例如 fontSize 和 color | object | - |
|
||||
|
@ -111,6 +111,13 @@ export default class Article extends React.Component {
|
||||
['section', { className: 'markdown' }].concat(getChildren(content.content))
|
||||
))
|
||||
}
|
||||
{
|
||||
props.utils.toReactComponent(
|
||||
['section', {
|
||||
className: 'markdown api-container',
|
||||
}].concat(getChildren(content.api || ['placeholder']))
|
||||
)
|
||||
}
|
||||
</article>
|
||||
</DocumentTitle>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user