Browse Source

Merge branch 'master' into develop-0.11.0

pull/618/merge
afc163 9 years ago
parent
commit
cc80b3c1c6
  1. 12
      components/icon/index.jsx

12
components/icon/index.jsx

@ -1,13 +1,9 @@
import React from 'react';
class Icon extends React.Component {
render() {
let {type, className = '', ...other} = this.props;
className += ` anticon anticon-${type}`;
return <i className={className} {...other}></i>;
}
function Icon(props) {
let {type, className = '', ...other} = props;
className += ` anticon anticon-${type}`;
return <i className={className} {...other} />;
}
export default Icon;

Loading…
Cancel
Save