This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useState } from "react"; | |
import { Card, CardContent } from "@/components/ui/card"; | |
import { Input } from "@/components/ui/input"; | |
import { Textarea } from "@/components/ui/textarea"; | |
import { Button } from "@/components/ui/button"; | |
// Example of a richer symptom-disease map: | |
// This can be replaced with a real dataset (e.g., from Kaggle or medical APIs) | |
const DISEASE_DATABASE = [ | |
{ |