import React, { FunctionComponent } from 'react'; import { Text } from '../ui/text'; import { LucideIcon } from 'lucide-react-native'; import { Card } from '../ui/card'; import { View } from 'react-native'; interface ErrorMessageResourceViewsProps { icon: LucideIcon; message: string; } export const ErrorMessageResourceView: FunctionComponent< ErrorMessageResourceViewsProps > = ({ icon, message }) => { const Icon = icon; return ( {message} ); };