@rnue/react-native-svg
Unreal implementation for react-native-svg
On this pageDesign
@rnue/react-native-svg provides a native Unreal backend for react-native-svg that uses ThorVG for performant GPU rendered vector graphics.
Design
@rnue/react-native-svg is a sibling package that provides the Unreal backend for react-native-svg. Usage of the package is done by using react-native-svg. This approach allows for more portable React Native code and preserves functionality of packages that depend on react-native-svg.
Installation
Install react-native-svg and @rnue/react-native-svg in your React Native application. Then use @rnue/cli to link the native package to your Unreal project.
npm i react-native-svg@15.15.5 @rnue/react-native-svgrnue requires a pinned version of react-native-svg. See the compatibility section for more information.
npx @rnue/cli linkUsage
Refer to the Using SVG cookbook entry for detailed usage instructions.