TDesign Icons for React
安装
npm i tdesign-icons-react
使用
// svgsprite
import { Icon } from 'tdesign-icons-react';
// iconfont
import { IconFont } from 'tdesign-icons-react';
// single icon
import { CloseIcon, TimeIcon } from 'tdesign-icons-react';
<Icon name="close" />;
<IconFont name="close" />;
<CloseIcon />;