Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 32 additions & 30 deletions client/screens/TestingScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,40 +1,42 @@
import { StyleSheet, Text, View } from "react-native";
// import { StyleSheet, Text, View } from "react-native";
import { useState } from "react";
import { Star } from "lucide-react-native";
// import { Star } from "lucide-react-native";

import SearchBar from "../components/SearchBar";
import Card from "../components/Card";
import ProfileIcon from "../components/ProfileIcon";
import Button from "../components/Button";
// import SearchBar from "../components/SearchBar";
// import Card from "../components/Card";
// import ProfileIcon from "../components/ProfileIcon";
// import Button from "../components/Button";
import About from "./about";

export default function App() {
const [input, setInput] = useState("");

return (
<View className="flex-1 bg-white items-center justify-center">
<Text>This is a testing page.</Text>
{/* Add New Components here */}
<ProfileIcon
label="Monika Safford, MD"
description="PALS Co-Founder"
/>
<SearchBar
className="mt-4 w-full"
placeholder="searching.."
value={input}
onChangeText={(text) => setInput(text)}
/>
<About />
// <View className="flex-1 bg-white items-center justify-center">
// <Text>This is a testing page.</Text>
// {/* Add New Components here */}
// <ProfileIcon
// label="Monika Safford, MD"
// description="PALS Co-Founder"
// />
// <SearchBar
// className="mt-4 w-full"
// placeholder="searching.."
// value={input}
// onChangeText={(text) => setInput(text)}
// />

<Card
icon={Star}
label="Health Insights"
description="View detailed analytics about your recent health data."
className="w-[90%] mt-8 mb-8"
/>
<Button
label="Test Button"
onPress={() => console.log("✅", "The button was pressed!")}
/>
</View>
// <Card
// icon={Star}
// label="Health Insights"
// description="View detailed analytics about your recent health data."
// className="w-[90%] mt-8 mb-8"
// />
// <Button
// label="Test Button"
// onPress={() => console.log("✅", "The button was pressed!")}
// />
// </View>
);
}
Loading