MCPcopy Create free account
hub / github.com/andrew-levy/jetpack-compose-react-native / ColumnsExample

Function ColumnsExample

example/app/carousel.tsx:10–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8} from "jetpack-compose-react-native";
9
10export default function ColumnsExample() {
11 return (
12 <Carousel
13 style={{ height: 200, width: 400 }}
14 items={[
15 require("../assets/jellybean.webp"),
16 require("../assets/icecream_sandwich.webp"),
17 require("../assets/gingerbread.webp"),
18 require("../assets/eclair.jpg"),
19 require("../assets/cupcake.jpg"),
20 require("../assets/donut.jpeg"),
21 ]}
22 />
23 // <View style={styles.container}>
24 // <Carousel style={{ height: 200, width: 400 }}>
25 // {/* <Button text="Button 1" /> */}
26 // <Image
27 // source={require("../assets/gingerbread.webp")}
28 // style={{ width: 100, height: 100 }}
29 // />
30 // <Image
31 // source={require("../assets/eclair.jpg")}
32 // style={{ width: 100, height: 100 }}
33 // />
34 // <Image
35 // source={require("../assets/cupcake.jpg")}
36 // style={{ width: 100, height: 100 }}
37
38 // // modifier={Modifier.border({ width: 1, color: "red" })}
39 // />
40 // <Image
41 // source={require("../assets/donut.jpeg")}
42 // style={{ width: 100, height: 100 }}
43
44 // // modifier={Modifier.border({ width: 1, color: "blue" })}
45 // />
46 // </Carousel>
47 // </View>
48 );
49}
50
51const styles = StyleSheet.create({
52 container: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected