Releases: MoOx/react-from-svg
Releases · MoOx/react-from-svg
8.0.0
- 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
- Fix unecessary .web suffix presence for web only exports
7.1.1
- Fix title & desc removal if there are attributes
7.1.0
- Add transform for
style="..."
as object
- Fix support for
data-*
and aria-*
attributes (no transformation)
7.0.1
- Fixed: issue with dash to camel case transforming incorrectly negative number
7.0.0
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
- Add
--with-native-for-typescript
option for react-native-svg
with TypeScript
5.1.3
- Handle
gradientTransform
for ReScript
- Handle float without leading 0 for ReScript
5.1.2
- Fix style prop generation