Skip to content

Commit 142e61c

Browse files
shabareesholiviertassinari
authored andcommitted
[docs] Add Subheader to v0.x migration guide (#12144)
* [Subheader] Add SubHeader component to Migration From V0.x Document * Update migration-v0x.md
1 parent 3902d8a commit 142e61c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/src/pages/guides/migration-v0x/migration-v0x.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@ This will apply a change such as the following:
119119
+<Button variant="contained" />
120120
```
121121

122+
### Subheader
123+
124+
```diff
125+
-import Subheader from 'material-ui/Subheader';
126+
+import ListSubheader from '@material-ui/core/ListSubheader';
127+
128+
-<Subheader>Sub Heading</Subheader>
129+
+<ListSubheader>Sub Heading</ListSubheader>
130+
```
131+
122132
### To be continued…
123133

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

0 commit comments

Comments
 (0)