-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Trying to create my own native module for SVG rendering I'm getting the following error when copying and pasting the FontLoader example:
Uncaught TypeError: Super expression must either be null or a function, not undefined
Update
I've successfully upgraded to RN 0.57.0 and RND 0.5.0 :)
Now I'm getting the following error when trying to create and component to replace SVG:
requireNativeComponent: "RNSVGSvgView" was not found in the UIManager.
The code for the native module is:
import { RCTModule } from 'react-native-dom';
export default class RNSVGSvgView extends RCTModule {
static moduleName = 'RNSVGSvgView';
}
The SVG library I'm using is react-native-svg
.
Metadata
Metadata
Assignees
Labels
No labels