How to use the react-native-macos.AppRegistry.registerComponent function in react-native-macos

To help you get started, weโ€™ve selected a few react-native-macos examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 7kfpun / FinanceMacOSReactNative / index.macos.js View on Github external
import {
  AppRegistry,
} from 'react-native-macos';

import Finance from './Finance';

AppRegistry.registerComponent('Finance', () => Finance);
github BafS / Material-Colors-native / index.macos.js View on Github external
leftPane: {
    marginTop: 26,
    padding: 6,
    paddingTop: 4,
    paddingBottom: 20
  },

  rightPane: {
    flex: 1,
    paddingTop: 0,
    paddingRight: 10
  },
});

AppRegistry.registerComponent('MaterialColors', () => MaterialColors);
github bbqsrc / sax / index.macos.js View on Github external
import ReactNative, {
  AppRegistry
} from "react-native-macos"

import App from "./src/containers/app"

AppRegistry.registerComponent("Sax", () => App)