Skip to content

Commit 0ebcd80

Browse files
author
Ali Najafizadeh
committed
supporting RN 0.25
changed import to support Rn 0.25
1 parent 3169675 commit 0ebcd80

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
const React = require('react-native');
2-
const {
1+
import React, { Component } from 'react';
2+
import {
33
Animated,
4-
Component,
54
Dimensions,
65
ScrollView,
76
View
8-
} = React;
7+
} from 'react-native';
98

109
const styles = require('./styles');
1110

0 commit comments

Comments
 (0)