2.0.0
Breaking Change
- Refactor(component): add save img type parameter to saveSignature method: 38a1ca0
We remove saveType
prop from the component because it's not flexible for changing the saved image type.
If your component had use saveType
prop, please remove it.
When you called saveSignature
method, the default will use image/png
as image type, if you want to change save type, just add image type parameter, e.g. saveSignature('image/svg+xml')
.