@react-platform/svg
v0.0.1
Published
Cross-platform React SVG primitives
Downloads
3
Readme
React Platform SVG
Inspired by and code borrowed from https://github.com/chengyin/react-primitives-svg
## Platforms
react-dom
– React Webreact-native
– React Native – iOS/Androidreact-sketchapp
– React Sketch.app- TODO:
react-native-macos
– React Native macOS- Could implement
<SvgUri>
with a port of https://github.com/alloc/react-native-svgkit
- Could implement
- TODO:
react-primitives
– React Primitives- This should probably be a stub with a
<View>
, and maybe render compute some rough SVG element sizes to render<View>
s from
- This should probably be a stub with a
- TODO:
react-figma
– React Figma<SvgUri>
and<SvgXml>
are possible
- TODO:
react-native-windows
– React Native Windows- Track issue: https://github.com/microsoft/react-native-windows/issues/3326
## Credit
- https://github.com/chengyin/react-primitives-svg