import { Text } from '@/components/ui/text'; import { View } from '@/components/ui/view'; import { useColor } from '@/hooks/useColor'; import { BORDER_RADIUS } from '@/theme/globals'; import { ViewStyle } from 'react-native'; type Props = { title?: string; description?: string; children: React.ReactNode; style?: ViewStyle; }; export const ChartContainer = ({ title, description, children, style, }: Props) => { const cardColor = useColor('card'); return ( {title && ( {title} )} {description && ( {description} )} {children} ); };