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