material ui arrow code example
Example 1: @material-ui/icons
yarn add @material-ui/icons
# NPM
npm install @material-ui/icons
Example 2: react mui icons
npm install @material-ui/core
npm install @material-ui/icons
import RoomIcon from '@material-ui/icons/Room';
<RoomIcon />
Example 3: material ui popper arrow
<Popper
placement="bottom"
disablePortal={true}
modifiers={{
flip: {
enabled: true,
},
preventOverflow: {
enabled: false,
boundariesElement: 'scrollParent',
},
arrow: {
enabled: false,
element: arrowRef,
},
}}
>