mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-12 11:55:23 +08:00
d5d7aa48b3
* fix alert animation * improve code
8 lines
206 B
JavaScript
8 lines
206 B
JavaScript
import React from 'react';
|
|
|
|
export default props => {
|
|
let { type, className = '', ...other } = props;
|
|
className += ` anticon anticon-${type}`;
|
|
return <i className={className.trim()} {...other} />;
|
|
};
|