Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

196
Views
¿Cómo usar el componente deslizable en reaccionar nativo para crear una nueva "Vista" después de deslizar el viaje?

Soy nuevo en React-Native, uso el componente deslizable para representar la nueva "Vista" con el propósito de eliminar. después de deslizar hacia la derecha no funciona. Da WARN, que a continuación he mencionado.

 import React from 'react'; import { View, Text, StyleSheet, } from 'react-native'; import Swipeable from 'react-native-gesture-handler/Swipeable'; function App(props) { return ( <Swipeable renderRightActions={()=> ( <View style={{backgroundColor:'red', width:70}}> </View> )}> <View style={styles.container}> <Text style={styles.text}> Swipe right to Delete</Text> </View> </Swipeable> ); } const styles = StyleSheet.create({ container:{ flexDirection:"row", backgroundColor:'lightgray', width: "100%", height:70, justifyContent:'center', alignItems:'center', }, text:{ fontWeight:'bold', fontSize:18, } }) export default App;

WARN [react-native-gesture-handler] Parece que estás usando una API antigua con componentes de gestos, ¡mira el nuevo sistema de gestos! PanGestureHandler@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.swipeabletest&modulesOnly=false&runModule=true:110702:38 Swipeable@http://localhost:8081/index.bundle?platform=android&dev =true&minify=false&app=com.swipeabletest&modulesOnly=false&runModule=true:110053:36 Aplicación RCTView Ver RCTView Ver AppContainer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.swipeabletest&modulesOnly=false&runModule=true :77006:36 swipeableTest(RootComponent)@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.swipeabletest&modulesOnly=false&runModule=true:83408:28

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!