({ direction = 'column', spacing = 0, style, children })
| 42 | style?: any; |
| 43 | }> |
| 44 | > = ({ direction = 'column', spacing = 0, style, children }) => { |
| 45 | return ( |
| 46 | <View style={[{ flexDirection: direction, margin: -spacing }, style]}> |
| 47 | {React.Children.map(children, (child, index) => ( |
| 48 | <View key={index} style={{ flexDirection: direction, margin: spacing }}> |
| 49 | {child} |
| 50 | </View> |
| 51 | ))} |
| 52 | </View> |
| 53 | ); |
| 54 | }; |
| 55 | |
| 56 | const BannerExample = () => { |
| 57 | const theme = useTheme(); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…