Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed May 8, 2021
1 parent ce3c18d commit 477bbcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/guides/migration-v4/migration-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -1059,8 +1059,8 @@ As the core components use emotion as a styled engine, the props used by emotion
- The radio color prop is now "primary" by default. To continue using the "secondary" color, you must explicitly indicate `secondary`. This brings the radio closer to the Material Design specification.

```diff
- <Radio />
+ <Radio color="secondary />
-<Radio />
+<Radio color="secondary />
```

### Rating
Expand Down
4 changes: 2 additions & 2 deletions packages/material-ui/src/Radio/Radio.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ describe('<Radio />', () => {
render,
mount,
muiName: 'MuiRadio',
testVariantProps: { color: 'primary' },
testVariantProps: { color: 'secondary' },
refInstanceof: window.HTMLSpanElement,
skip: ['componentProp', 'componentsProp', 'themeVariants'],
skip: ['componentProp', 'componentsProp'],
}));

describe('styleSheet', () => {
Expand Down

0 comments on commit 477bbcd

Please sign in to comment.