import { AccentColor } from "@/constants/color-palet"; import { StyleProp, TouchableHighlight, View, ViewStyle } from "react-native"; interface BaseBoxProps { children: React.ReactNode; style?: StyleProp; onPress?: () => void; marginBottom?: number; padding?: number; paddingInline?: number; } export default function BaseBox({ children, style, onPress, marginBottom = 16, padding = 12, }: BaseBoxProps) { return ( <> {onPress ? ( {children} ) : ( {children} )} ); }