Answers for "material-ui add icon to switch when on"

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language