mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
7 lines
189 B
TypeScript
7 lines
189 B
TypeScript
import * as React from 'react';
|
|
|
|
export default props => {
|
|
const { type, className = '' } = props;
|
|
return <i {...props} className={`${className} anticon anticon-${type}`.trim()} />;
|
|
};
|