Adds cross-platform SVG support for ReactDOM and React Native. This package bundles up the great react-primitives-svg library to be used in the react-x
ecosystem.
Install @react-x/svg
using yarn
:
yarn add @react-x/svg
import SVG, {Circle, Rect, Line} from '@react-x/svg';
If you have any ideas on how this module could be better, create an Issue or submit a PR.