Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Radio][Checkbox] Add size="small" support #18688

Prev Previous commit
Next Next commit
yarn docs:typescript:formatted
oliviertassinari committed Dec 5, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 4b43a02378b61b11cec8bd76a2d6778a8214bb09
5 changes: 1 addition & 4 deletions docs/src/pages/components/radio-buttons/RadioButtons.js
Original file line number Diff line number Diff line change
@@ -2,8 +2,6 @@ import React from 'react';
import { withStyles } from '@material-ui/core/styles';
import { green } from '@material-ui/core/colors';
import Radio from '@material-ui/core/Radio';
import RadioButtonUncheckedIcon from '@material-ui/icons/RadioButtonUnchecked';
import RadioButtonCheckedIcon from '@material-ui/icons/RadioButtonChecked';

const GreenRadio = withStyles({
root: {
@@ -60,8 +58,7 @@ export default function RadioButtons() {
color="default"
name="radio-button-demo"
inputProps={{ 'aria-label': 'E' }}
icon={<RadioButtonUncheckedIcon fontSize="small" />}
checkedIcon={<RadioButtonCheckedIcon fontSize="small" />}
size="small"
/>
</div>
);