0

<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.6.3/umd/react.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.6.3/umd/react-dom.production.min.js"></script>
import React from 'react';
import {
  StyleSheet,
  Text,
  Image,
  Switch,
  View,
  TextInput,
  TouchableOpacity,
} from 'react-native';
import { Swipeable } from 'react-native-gesture-handler/Swipeable';

const Test = () => {
  return (
    <Swipeable>
      <View style={styles.container}>
        <Text>Im a test page</Text>
      </View>
    </Swipeable>
  );
};

export default Test;

const styles = StyleSheet.create({
  container: {
    flex: 1,
    width: '100%',
  },
});
Kartikey
  • 4,516
  • 4
  • 15
  • 40
Waseem
  • 1
  • 1
  • import React from 'react' import { StyleSheet, Text, Image, Switch, View, TextInput, TouchableOpacity } from 'react-native'; import { Swipeable } from 'react-native-gesture-handler/Swipeable'; const Test = () => { return ( Im a test page ) } export default Test const styles = StyleSheet.create({ container: { flex: 1, width:'100%' }, }); – Waseem Sep 21 '21 at 18:05
  • Please try to take the opportunity of updating description. It lets people help better. – alchemist95 Sep 28 '21 at 19:29

0 Answers0