mirror of
https://github.com/status-im/react-native-qrcode.git
synced 2025-01-23 09:00:37 +00:00
Merge pull request #12 from timzaak/fix0.25.1
fix react-native 0.25.1 version
This commit is contained in:
commit
0d098edc66
@ -1,10 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
var React = require('react-native');
|
||||
var React = require('react');
|
||||
var {
|
||||
View,
|
||||
WebView
|
||||
} = React;
|
||||
} = require('react-native');
|
||||
|
||||
var Canvas = React.createClass({
|
||||
propTypes: {
|
||||
|
@ -1,13 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
var React = require('react-native');
|
||||
var React = require('react');
|
||||
var Canvas = require('./Canvas.js');
|
||||
var qr = require('qr.js');
|
||||
var {
|
||||
Text,
|
||||
WebView,
|
||||
View
|
||||
} = React;
|
||||
View,
|
||||
} = require('react-native');
|
||||
|
||||
function renderCanvas(canvas) {
|
||||
var ctx = canvas.getContext('2d');
|
||||
|
Loading…
x
Reference in New Issue
Block a user