We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec645b commit c999fb2Copy full SHA for c999fb2
packages/create-react-native-library/templates/native-library-new/src/index.tsx
@@ -1,4 +1,4 @@
1
-const <%- project.name -%> = require('./Native<%- project.name -%>').default;
+import <%- project.name -%> from './Native<%- project.name -%>';
2
3
export function multiply(a: number, b: number): number {
4
return <%- project.name -%>.multiply(a, b);
0 commit comments