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

507
Views
ReferenceError no puede encontrar la variable: hoja de estilo

Ya importé StyleSheet de react-native

pero obtuve [ReferenceError no puede encontrar la variable StyleSheet].

no sé por qué ¡Por favor, ayúdame!

Leí muchas publicaciones de stackoverflow, se olvidan de importar StyleSheet, View, Text. ¡¡Pero no lo hice!!

ingrese la descripción de la imagen aquí

 import React from 'react'; import { View, Text, StyleSheet, SafeAreaView } from 'react-native'; import { TouchableOpacity } from 'react-native-web'; const AddNewStamp = () => ( <View style={styles.container}> <Header /> </View> ); const Header = () => ( <SafeAreaView style = {styles.HeaderContainer}> <TouchableOpacity> <Image source= {'./assets/icon/home_filled.png'} style={{ width: 30, heigh: 30}} /> </TouchableOpacity> <Text style={styles.HeaderText}>New Stamp</Text> </SafeAreaView> ); const styles = StyleSheet.create({ container: { marginHorizontal: 10 }, HeaderContainer: { flexDirection: 'row', justifyContent: 'space-betwween', alignItems: 'center', }, HeaderText: { color: '#fff', fontWeight: '700', fontSize: 20, marginLeft: 25, }, }); export default AddNewStamp;
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!