Skip to content

Release 0.6.0

Compare
Choose a tag to compare
@BenJeau BenJeau released this 06 Feb 03:46
· 15 commits to master since this release

0.6.0 (2022-02-06)

Features

  • combine paths with identical props (except d) (#49) (0b506a6)

Potential Breaking Change

If you are depending on the getPaths() ref function, it now returns data structured differently. Please look at https://github.com/BenJeau/react-native-draw/blob/0b506a6e6ca55efbdf4f65b228763d0e8f01e101/src/types.ts for the new types (the data and path attributes are now nested in arrays to group paths with the same properties (opacity, color, and thickness). It also contains a combine attribute where if true means that the paths should be combined within one SVG path, or it should be treated as multiple different SVG paths.