Answers for "how to scale mui icon"

0

how to change size material ui icons

import React from "react";
import MailIcon from "@material-ui/icons/Mail";

export default function App() {
  return (
    <div>
      <MailIcon fontSize="small" />
      <MailIcon />
      <MailIcon fontSize="large" />
      <MailIcon style={{ fontSize: 50 }} />
    </div>
  );
}
Posted by: Guest on August-17-2021
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

Browse Popular Code Answers by Language