-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Non-documented API props are now spread onto the wrapper element. - Some API props have been renamed for clarity. - Tests updated to reflect the required wrapper elements. - New test added regarding the presence of a parent element for SVGInjector, since this has been coming up a bit in the issue tracker.
- Loading branch information
tanem
committed
Apr 29, 2018
1 parent
06c46c2
commit a064035
Showing
12 changed files
with
265 additions
and
223 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,17 @@ | ||
# Migrating | ||
|
||
## v3 API Changes | ||
|
||
**Naming** | ||
|
||
- `callback` -> `onInjected` | ||
- `className` -> `svgClassName` | ||
- `style` -> `svgStyle` | ||
|
||
**Additions** | ||
|
||
All additional non-documented props will now be spread onto the wrapper element. | ||
|
||
**Removals** | ||
|
||
`wrapperClassName` has been removed. Instead, just pass `className` since it will be spread onto the wrapper element. |
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
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
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
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
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
Oops, something went wrong.