react-native-svg

SVG library for React Native, React Native Web, and plain React web projects.

MIT License

Stars
7.4K
Committers
226

Bot releases are visible (Hide)

react-native-svg - 4.4.0

Published by magicismight almost 8 years ago

Fixes #188 in the master repo by replacing the path in the import with the new path
Update peerDependencies to react-native >= 0.38.0 and react >=15.4.0

react-native-svg - 4.3.3

Published by magicismight almost 8 years ago

Revert [email protected].
TextureView causes inefficient rendering while the Svg is a inside ScrollView.

react-native-svg - 4.3.2

Published by magicismight almost 8 years ago

Use TextureView and pass Surface from the view to draw on it asynchronously instead of passing the bitmap (which is inefficient especially in terms of memory usage).
React Native ART related commit.

react-native-svg - 4.3.0

Published by magicismight about 8 years ago

Make it work with [email protected] #124
And change react-native's peer dependency to @0.33

react-native-svg - 4.2.1

Published by magicismight about 8 years ago

Handle touches when root is a ViewRootImpl
#133

react-native-svg - 4.2.0

Published by magicismight about 8 years ago

fix #118 and change react-native's peer-dependency to 0.32.0

react-native-svg - 4.1.5

Published by magicismight about 8 years ago

fix #111

react-native-svg - 4.1.0 - 4.1.4

Published by magicismight about 8 years ago

4.1.0 - 4.1.1

Add preserveAspectRatio prop for Image

4.1.1 - 4.1.2

Set unrecognized font family to default.

4.1.2 - 4.1.3

Fix #116 and #115

4.1.2 - 4.1.4

Fix #103

react-native-svg - 4.1.0

Published by magicismight about 8 years ago

Add get svg base64 data support

svgRef.toDataURL(function (base64) {
    console.log(64);
});

Fix memory leak issue on iOS.

Add textPath support for iOS.

Add touch events support for G elements.

Add all features support for viewBox prop.

Fix lots of bugs.

react-native-svg - 2.0.0

Published by magicismight over 8 years ago

Add support for both [email protected] and below.
Add Image element for Android.
Add gesture responder system for all renderable elements.
Refactor all shape elements like: circle, rect, line, ellipse

react-native-svg - 1.3.1

Published by magicismight over 8 years ago

Add support for [email protected]
Add Image element for iOS.(Android not finished yet)
Refactor Text element on iOS, add support for text path and text stroke(gradient) on iOS.
Fix a few bugs #33 #32

react-native-svg - Percentage props support

Published by magicismight over 8 years ago

Now we can use percentage props on shape elements:
Rect,Circle,Line, Ellipse

<Rect x="0%" y="5%" width="90" height="95%" />
<Circle cx="50%" cy="50%" r="50%" />
<Line x1="0%" y1="5%" x2="90%" y2="95%" />
<Ellipse cx="50%" cy="50%" rx="30%" ry="40%" />

And moved gradients percentage calculation to native side for a better support.

react-native-svg - First release

Published by magicismight over 8 years ago

  • Change npm package name from react-native-art-svg to react-native-svg.
  • Isolated from ReactNativeART.
  • Add some SVG features support (ClipPath, strokeOffset, gradients stroke).
  • Fix some issues on ART.
Package Rankings
Top 6.67% on Proxy.golang.org
Badges
Extracted from project README
Version NPM