mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +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;
|