mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
10 lines
215 B
JavaScript
10 lines
215 B
JavaScript
import React from 'react';
|
|
|
|
function Icon(props) {
|
|
let {type, className = '', ...other} = props;
|
|
className += ` anticon anticon-${type}`;
|
|
return <i className={className} {...other} />;
|
|
}
|
|
|
|
export default Icon;
|