"use client" import * as React from "react" import { IconCamera } from "@tabler/icons-react" import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar" import { Button } from "@/components/ui/button" import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from "@/components/ui/dialog" import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { Separator } from "@/components/ui/separator" export function AccountModal({ open, onOpenChange, }: { open: boolean onOpenChange: (open: boolean) => void }) { const [name, setName] = React.useState("Martine Vogel") const [email, setEmail] = React.useState("martine@compass.io") const [currentPassword, setCurrentPassword] = React.useState("") const [newPassword, setNewPassword] = React.useState("") const [confirmPassword, setConfirmPassword] = React.useState("") return ( Account Settings Manage your profile and security settings.
MV

{name}

{email}

Profile

setName(e.target.value)} />
setEmail(e.target.value)} />

Change Password

setCurrentPassword(e.target.value)} placeholder="Enter current password" />
setNewPassword(e.target.value)} placeholder="Enter new password" />
setConfirmPassword(e.target.value)} placeholder="Confirm new password" />
) }