Skip to content

Releases: MoOx/react-from-svg

8.0.2

19 Nov 20:50
0508664

Choose a tag to compare

  • Remove Node 22 requirement

8.0.1

16 Aug 13:17
f2d6b2c

Choose a tag to compare

  • Fix for Windows support

8.0.0

29 Apr 09:27
d31fc89

Choose a tag to compare

  • Add new --allow-override-fill option
  • Add {props.children} injection so you can inject stuff in your svg (eg: <defs> that can be used with --allow-override-fill)

Check the README for an example.

7.1.2

29 Apr 07:28
4b16d13

Choose a tag to compare

  • Fix unecessary .web suffix presence for web only exports

7.1.1

08 Apr 07:31
2649dfc

Choose a tag to compare

  • Fix title & desc removal if there are attributes

7.1.0

08 Apr 06:55
93973d9

Choose a tag to compare

  • Add transform for style="..." as object
  • Fix support for data-* and aria-*attributes (no transformation)

7.0.1

04 Apr 06:49
63dd9c7

Choose a tag to compare

  • Fixed: issue with dash to camel case transforming incorrectly negative number

7.0.0

03 Apr 17:25
857dbb5

Choose a tag to compare

Rewritten in TypeScript.
ReScript support as been removed (but feel free to add it back via a PR).

  • Remove --commonjs option
  • Remove --with-*-for-rescript options
  • Add --with-web-for-typescript option for DOM with TypeScript

6.0.0

17 Jan 17:15
34c9934

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

Choose a tag to compare

  • Handle gradientTransform for ReScript
  • Handle float without leading 0 for ReScript