1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Changed import statements to require to reduce dependency to Babel

This commit is contained in:
Laurent Cozic
2017-11-03 00:09:34 +00:00
parent 1c144c9674
commit 7781fbad76
108 changed files with 729 additions and 730 deletions

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react';
import { StyleSheet, TouchableHighlight } from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
const React = require('react'); const Component = React.Component;
const { StyleSheet, TouchableHighlight } = require('react-native');
const Icon = require('react-native-vector-icons/Ionicons').default;
const styles = {
checkboxIcon: {