mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 23:49:33 +01:00
19 lines
541 B
JavaScript
19 lines
541 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
import React from "react";
|
|
import { AppRegistry } from "react-native";
|
|
import "react-native-get-random-values";
|
|
import { SafeAreaProvider } from "react-native-safe-area-context";
|
|
import "./globals";
|
|
import "./app/common/logger/index";
|
|
|
|
const ShareProvider = () => {
|
|
NotesnookShare = require("./app/share/index").default;
|
|
return (
|
|
<SafeAreaProvider>
|
|
<NotesnookShare />
|
|
</SafeAreaProvider>
|
|
);
|
|
};
|
|
|
|
AppRegistry.registerComponent("NotesnookShare", () => ShareProvider);
|