AntDesign的圖標庫提供了豐富的圖標資源,可以通過以下步驟來使用:
import { Button, Icon } from 'antd';
<Icon type="smile" />
<Icon type="smile" style={{ fontSize: '24px', color: 'red' }} />
通過以上步驟,您就可以在項目中使用AntDesign的圖標庫提供的圖標資源了。