mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
8 lines
199 B
JavaScript
8 lines
199 B
JavaScript
import React from 'react';
|
|
|
|
export default props => {
|
|
let { type, className = '', ...other } = props;
|
|
className += ` anticon anticon-${type}`;
|
|
return <i className={className} {...other} />;
|
|
};
|