add icon in material ui code example
Example 1: Material-ui Add icon
import AddIcon from '@material-ui/icons/Add';
// don't forget to import the icon dependancy
// npm install @material Ui/icons
Example 2: @material-ui/icons
yarn add @material-ui/icons
# NPM
npm install @material-ui/icons
Example 3: react mui icons
npm install @material-ui/core
npm install @material-ui/icons
import RoomIcon from '@material-ui/icons/Room';
<RoomIcon />
Example 4: Material-ui add box icon
import AddBoxIcon from '@material-ui/icons/AddBox';\
// don't forget to import the icon dependancy
// npm install @material Ui/icons