index.ts 335 B

1234567891011121314
  1. import {
  2. type RootTag,
  3. AppRegistry
  4. } from "react-native";
  5. import {
  6. name as appName
  7. } from "./app.json";
  8. import App from "../src/index";
  9. AppRegistry.registerComponent(appName, () => App);
  10. AppRegistry.runApplication(appName, {
  11. initialProps: {},
  12. rootTag: document.getElementById("app-root") as unknown as RootTag
  13. });