Skip to content

Commit

Permalink
compatible with latest react native
Browse files Browse the repository at this point in the history
  • Loading branch information
anttu committed Jun 14, 2016
1 parent 7db1940 commit ed17c0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
'use strict';

var React = require('react');
import {
NativeModules
} from 'react-native';
import { NativeModules } from 'react-native';

var RCTToast= NativeModules.Toast;
var Toast = {};
Expand Down

0 comments on commit ed17c0f

Please sign in to comment.