import React from "react";
import styles from'./index.less';

const IconFont=(props)=>{
  const {icon,className,...others} = props;
  return (
    <span {...others} className={`iconfont icon-${icon} ${styles.iconBox} ${className||''}`} ></span>
  )
}
export default IconFont;