1.0.4 • Published 2 years ago
test-npm-jjmessi v1.0.4
react native image carousel
How to install
npm install rn-test-text
or
yarn add rn-test-text
Uses
import React from "react";
import { View, StyleSheet, Text } from "react-native";
const App = () => {
return (
<View style={styles.main}>
<Text>sdfssdd</Text>
</View>
);
};
const styles = StyleSheet.create({
main: {
width: "100%",
flex: 1,
backgroundColor: "#fff",
padding: 8,
},
carousel: {
width: "100%",
height: 200,
},
});
export default App;
NOTE: Carousel style's height
is mandatory.
Props
imagesData:'12312',