import { Pressable, Text, View } from "react-native" import DrawerBottom from "./drawerBottom" import Styles from "@/constants/Styles" import { AntDesign } from "@expo/vector-icons" import { useState } from "react" type Props = { open: boolean close: (value: boolean) => void title: string category: 'group' choose: string onSelect: (value: { val: string, label: string }) => void } export default function ModalSelect({ open, close, title, category, choose, onSelect }: Props) { const [isChoose, setChoose] = useState(choose) return ( { onSelect({ val: 'dinas', label: 'Dinas' }) setChoose('dinas') close(false) }}> Dinas Adat Karang Taruna PKK ) }