react-native-dropdownalert icon indicating copy to clipboard operation
react-native-dropdownalert copied to clipboard

TypeError: Cannot read property 'style' of undefined, js engine: hermes React Native

Open gausu60 opened this issue 1 year ago • 0 comments

I have Install package react-native-image-slider-box My code ": import React, { useState } from "react"; import { StyleSheet, Text, View } from "react-native"; import { SliderBox } from "react-native-image-slider-box";

const ProductImageGallery = () => { const [images, setImages] = useState([ "https://www.thinkrenta.com/Products/_M_23TR Teak Álvaro Single Bed Non Storage.webp", "https://www.thinkrenta.com/Products/_M_23TR Teak Álvaro Single Bed Non Storage.webp", "https://www.thinkrenta.com/Products/_M_23TR Teak Álvaro Single Bed Non Storage.webp", "https://www.thinkrenta.com/Products/_M_23TR Teak Álvaro Single Bed Non Storage.webp", ]);

return ( <View style={styles.container}> <SliderBox images={images} onCurrentImagePressed={index => console.warn(image ${index} pressed)} /> </View> ); }

const styles = StyleSheet.create({ container: { flex: 1 } });

export default ProductImageGallery; TypeError: Cannot read property 'style' of undefined, js engine: herme this error occured anyone fix it

gausu60 avatar Jun 11 '24 10:06 gausu60