How to use the native-base.OSTheme.setOSTheme function in native-base

To help you get started, we’ve selected a few native-base 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 Chion82 / rnweb-native-base-starter / index.web.js View on Github external
/**
 * react-native-web + native-base-web starter app
 * Chion82 https://github.com/Chion82/rnweb-native-base-starter
 * https://miria.moe
 */

import { AppRegistry } from 'react-native';
import Entry from './app/entry/index';
import { OSTheme } from 'native-base';

//Use IOS theme for our web app
OSTheme.setOSTheme('ios');

AppRegistry.registerComponent('App', () => Entry);
AppRegistry.runApplication('App', {
  rootTag: document.getElementById('react-root')
});