()
| 2 | import { Scaffold, Modifier } from "jetpack-compose-react-native"; |
| 3 | |
| 4 | export default function BoxesExample() { |
| 5 | const { width, height } = useWindowDimensions(); |
| 6 | console.log("width", width); |
| 7 | return ( |
| 8 | <Scaffold |
| 9 | style={{ |
| 10 | width, |
| 11 | height: height - 80, |
| 12 | }} |
| 13 | modifier={Modifier.fillMaxSize()} |
| 14 | > |
| 15 | <Text>Element inside a Scaffold</Text> |
| 16 | </Scaffold> |
| 17 | ); |
| 18 | } |
| 19 | |
| 20 | const styles = StyleSheet.create({ |
| 21 | header: { |
nothing calls this directly
no test coverage detected