import { Button } from "../ui/button"; import { Input } from "../ui/input"; import { useState } from "react"; import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle, } from "../ui/dialog"; type SetPasswordProps = { show: boolean; onSave: (password: string) => void; onCancel: () => void; }; export default function SetPasswordDialog({ show, onSave, onCancel, }: SetPasswordProps) { const [password, setPassword] = useState(); return ( Set Password setPassword(event.target.value)} /> ); }