Skip to content

Commit

Permalink
[Skelton] add classKeys migration
Browse files Browse the repository at this point in the history
  • Loading branch information
kodai3 committed Aug 3, 2020
1 parent 0e8b0ed commit 42cac3e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/src/pages/guides/migration-v4/migration-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,12 @@ This change affects almost all components where you're using the `component` pro
- Rename `circle` to `circular` and `rect` to `rectangular` for consistency. The possible values should be adjectives, not nouns:

```diff
-<Skeleton variant="circle">
-<Skeleton variant="rect">
+<Skeleton variant="circular">
+<Skeleton variant="rectangular">
-<Skeleton variant="circle" />
-<Skeleton variant="rect" />
-<Skeleton classes={{ circle: 'custom-circle-classname', rect: 'custom-rect-classname', }} />
+<Skeleton variant="circular" />
+<Skeleton variant="rectangular" />
-<Skeleton classes={{ circular: 'custom-circle-classname', rectangular: 'custom-rect-classname', }} />
```

### TablePagination
Expand Down

0 comments on commit 42cac3e

Please sign in to comment.