(props: { readonly children: ReactNode })
| 109 | } |
| 110 | |
| 111 | function AddProjectShell(props: { readonly children: ReactNode }) { |
| 112 | const insets = useSafeAreaInsets(); |
| 113 | |
| 114 | return ( |
| 115 | <View className="flex-1 bg-sheet"> |
| 116 | <ScrollView |
| 117 | keyboardShouldPersistTaps="handled" |
| 118 | contentInsetAdjustmentBehavior="automatic" |
| 119 | contentContainerStyle={{ |
| 120 | paddingHorizontal: 20, |
| 121 | paddingTop: 16, |
| 122 | paddingBottom: Math.max(insets.bottom, 18) + 18, |
| 123 | gap: 10, |
| 124 | }} |
| 125 | > |
| 126 | {props.children} |
| 127 | </ScrollView> |
| 128 | </View> |
| 129 | ); |
| 130 | } |
| 131 | |
| 132 | function ListSection(props: { readonly children: ReactNode }) { |
| 133 | return <View className="overflow-hidden rounded-[24px] bg-card">{props.children}</View>; |
nothing calls this directly
no outgoing calls
no test coverage detected