From 94d567442be17a8cae32d51e7b3a87268bff27c3 Mon Sep 17 00:00:00 2001 From: Matt McCoy Date: Tue, 13 Feb 2024 08:44:47 -0500 Subject: [PATCH] refactor: FE remove extra card file --- client/components/Card.tsx | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 client/components/Card.tsx diff --git a/client/components/Card.tsx b/client/components/Card.tsx deleted file mode 100644 index 27bdb82..0000000 --- a/client/components/Card.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import React from 'react'; - -import { Card } from 'react-native-paper'; - -interface ClickableCardProps { - title: string; - onPress: () => void; - children?: JSX.Element[] | JSX.Element; -} - -export function ClickableCard({ - title, - onPress, - children -}: ClickableCardProps) { - return ( - - - {children} - - ); -}