Skip to content

Commit

Permalink
Merge pull request #80 from mapbox/mrc-migration-guide
Browse files Browse the repository at this point in the history
MRC Migration Guide
  • Loading branch information
tristen authored Jun 23, 2022
2 parents 7f45443 + 1b3af49 commit 5032606
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/mapbox-react-components-migration-guide.md
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`.

0 comments on commit 5032606

Please sign in to comment.