import React from 'react'; import { withStyles } from '@material-ui/core/styles'; import { green } from '@material-ui/core/colors'; import Radio, { RadioProps } from '@material-ui/core/Radio'; const GreenRadio = withStyles({ root: { color: green[400], '&$checked': { color: green[600], }, }, checked: {}, })((props: RadioProps) => ); export default function RadioButtons() { const [selectedValue, setSelectedValue] = React.useState('a'); const handleChange = (event: React.ChangeEvent) => { setSelectedValue(event.target.value); }; return (
); }