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

Function SpacersExample

example/app/spacers.tsx:4–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { Row, Spacer } from "jetpack-compose-react-native";
3
4export default function SpacersExample() {
5 return (
6 <View style={styles.container}>
7 <Text style={styles.header}>Spacer Example</Text>
8 <Row style={{ width: "100%" }}>
9 <Text>Before Spacer</Text>
10 <Spacer />
11 <Text>After Spacer</Text>
12 </Row>
13 </View>
14 );
15}
16
17const styles = StyleSheet.create({
18 container: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected