Skip to content

Commit

Permalink
[docs] Add Subheader to v0.x migration guide (mui#12144)
Browse files Browse the repository at this point in the history
* [Subheader] Add SubHeader component to Migration From V0.x Document

* Update migration-v0x.md
  • Loading branch information
shabareesh authored and Joe Shelby committed Jul 14, 2018
1 parent 5dcec9b commit 59b98e7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/src/pages/guides/migration-v0x/migration-v0x.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,16 @@ This will apply a change such as the following:
+<Button variant="contained" />
```

### Subheader

```diff
-import Subheader from 'material-ui/Subheader';
+import ListSubheader from '@material-ui/core/ListSubheader';

-<Subheader>Sub Heading</Subheader>
+<ListSubheader>Sub Heading</ListSubheader>
```

### To be continued…

Have you successfully migrated your app, and wish to help the community?
Expand Down

0 comments on commit 59b98e7

Please sign in to comment.