-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from mapbox/mrc-migration-guide
MRC Migration Guide
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Mapbox React Components Migration Guide | ||
A running document that itemizes the differences between MRC and MR-UI components to aid migrating from one to the other | ||
|
||
## Icon | ||
Passing nested props to the Mr-UI icon will cause `shallowEqualObjects` to throw an error. If you spread props into an icon, you should be doubly aware of this change. | ||
|
||
MRC's `themeIcon` prop has been replaced by `passthroughProps.className`. | ||
|
||
## Popover | ||
MRC's `themePopover` prop has been replaced by `passthroughProps.className`. |