import {FC} from 'react';

type Props = {
  name: string;
};

const FontIcon: FC<Props> = function ({name}) {
  return <i className={`iconfont ${name} ant-menu-item-icon`} />;
};

export default FontIcon;
