Skip to content

Commit

Permalink
added migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Dec 16, 2020
1 parent c42898f commit d764665
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/pages/guides/migration-v4/migration-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,12 @@ const classes = makeStyles(theme => ({
}));
```

### Core components

As the core components use emotion as a styled engine, the props used by emotion are not intercepted. The prop `as` in the following codesnippet will not be propagated to the `SomeOtherComponent`.

`<MuiComponent component={SomeOtherComponent} as="button" />`

### AppBar

- [AppBar] Remove z-index when position static and relative
Expand Down

0 comments on commit d764665

Please sign in to comment.