diff --git a/frontend-admin/src/components/ui/Card.tsx b/frontend-admin/src/components/ui/Card.tsx index 5383e77f..15a936cf 100644 --- a/frontend-admin/src/components/ui/Card.tsx +++ b/frontend-admin/src/components/ui/Card.tsx @@ -1,11 +1,11 @@ import React, { useMemo } from "react"; -import { View, StyleSheet, type ViewStyle } from "react-native"; +import { View, StyleSheet, type ViewStyle, type StyleProp } from "react-native"; import { spacing, borderRadius, shadows } from "../../theme"; import { useTheme } from "../../context/ThemeContext"; interface CardProps { children: React.ReactNode; - style?: ViewStyle; + style?: StyleProp; } export default function Card({ children, style }: CardProps) {