({
title,
children,
}: {
title: string;
children: React.ReactNode;
})
| 2 | import { Text, View } from 'react-native'; |
| 3 | |
| 4 | export function Card({ |
| 5 | title, |
| 6 | children, |
| 7 | }: { |
| 8 | title: string; |
| 9 | children: React.ReactNode; |
| 10 | }) { |
| 11 | return ( |
| 12 | <View style={{ padding: 16, backgroundColor: 'white', marginBottom: 4 }}> |
| 13 | <Text |
| 14 | style={{ |
| 15 | fontSize: 20, |
| 16 | fontWeight: 'bold', |
| 17 | marginBottom: 16, |
| 18 | color: '#292929', |
| 19 | }} |
| 20 | > |
| 21 | {title} |
| 22 | </Text> |
| 23 | {children} |
| 24 | </View> |
| 25 | ); |
| 26 | } |
nothing calls this directly
no outgoing calls
no test coverage detected