mirror of
https://github.com/zhigang1992/react-native-swipeout.git
synced 2026-04-29 12:55:20 +08:00
React-native 0.24+ compatibility
This commit is contained in:
@@ -5,14 +5,8 @@ import rows from './data';
|
||||
// example styles
|
||||
import styles from './styles';
|
||||
|
||||
import React, {
|
||||
Component,
|
||||
AppRegistry,
|
||||
StyleSheet,
|
||||
ListView,
|
||||
Text,
|
||||
View,
|
||||
} from 'react-native';
|
||||
import React, {Component} from 'react';
|
||||
import {AppRegistry, StyleSheet, ListView, Text, View} from 'react-native';
|
||||
|
||||
// example swipout app
|
||||
class SwipeoutExample extends Component {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import React, {
|
||||
Image,
|
||||
} from 'react-native';
|
||||
import React from 'react';
|
||||
import {Image} from 'react-native';
|
||||
|
||||
var btnsDefault = [ { text: 'Button' } ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
var React = require('react-native')
|
||||
var React = require('react')
|
||||
var {StyleSheet} = React
|
||||
|
||||
var styles = StyleSheet.create({
|
||||
|
||||
Reference in New Issue
Block a user