Skip to content

Releases: MoOx/react-from-svg

6.0.0

17 Jan 17:15
34c9934
Compare
Choose a tag to compare
  • Add --with-native-for-typescript option for react-native-svg with TypeScript

5.1.3

18 Aug 18:42
4bc5e7a
Compare
Choose a tag to compare
  • Handle gradientTransform for ReScript
  • Handle float without leading 0 for ReScript

5.1.2

18 Aug 15:58
633b838
Compare
Choose a tag to compare
  • Fix style prop generation

5.1.1

18 Aug 15:52
fa6d905
Compare
Choose a tag to compare
  • Fix published files

5.1.0

18 Aug 15:38
e330e49
Compare
Choose a tag to compare
  • Add support for style prop

5.0.3

07 Jul 15:02
f1141c2
Compare
Choose a tag to compare
  • Fix negative number transformation for ReScript output.

5.0.2

05 May 09:33
28e7e2b
Compare
Choose a tag to compare
  • Fix *-rescript options, round 2
  • Adjust a bit rescript output

5.0.1

05 May 09:21
31e5683
Compare
Choose a tag to compare

Fix *-rescript options

5.0.0

05 May 09:09
18741a9
Compare
Choose a tag to compare

Breaking change for all users

Some alias have been replaced. Please check the README for more information.

Breaking change for user of --with-**-reason options

ReasonML output has been replaced by ReScript. This means:

  • --with-native-for-reason has been replaced by --with-native-for-rescript
  • --with-web-for-reason has been replaced by --with-web-for-rescript

Output is now ReScript code that works with @rescript/react, rescript-react-native and @rescript-react-native/svg.

See https://rescript-react-native.github.io/blog/2021-05-04-hello-rescript-react-native for more informations.

4.0.6

08 Aug 14:48
89353c8
Compare
Choose a tag to compare
  • --with-native-for-reason: Fixed unwanted props transformation (eg: opacity) b69604f by @MoOx