📜  材质 ui 图标 nextjs - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:40.550000             🧑  作者: Mango

代码示例1
# First install materil-ui core:
npm install @material-ui/core

# Then install material-ui icons that provides 
# the Google Material icons packaged as a set of React components.
npm install @material-ui/icons

# Import the icon like this and use it:
import NameOfTheIcon from '@material-ui/icons/NameOfTheIcon';
...