import { useThemeColor } from "@/hooks/use-theme-color"; import { ReactNode } from "react"; import { StyleProp, StyleSheet, View, ViewStyle } from "react-native"; interface PanelProps { children?: ReactNode; className?: string; style?: StyleProp; withPadding?: boolean; } const Panel = ({children, className, style, withPadding = true}: PanelProps) => { const backgroundColor = useThemeColor({ }, 'background'); return ( {children} ) } const styles = StyleSheet.create({ panel: { borderRadius: 5, boxShadow: '0px 4px 5px 0px rgba(0,0,0,0.18)' }, panelPadding: { padding: 15, } }); export default Panel;