Answers for "material ui update icon"

1

how to resize a icon using material ui

<SomeIcon className="svg_icons"/>

.svg_icons{
  transform: scale(1.8);
}
Posted by: Guest on March-16-2020
0

material-ui add icon to switch when on

import React from 'react';
import Switch from '@material-ui/core/Switch';
import AccountCircleIcon from '@material-ui/icons/AccountCircle';

export default function App() {
  return (
    <Switch 
    checkedIcon={<AccountCircleIcon/>}
    />
  );
}
Posted by: Guest on February-19-2021

Browse Popular Code Answers by Language