import { BanIcon, DotsVerticalIcon, LockOpenIcon, PencilIcon, SupportIcon, TrashIcon } from '@heroicons/react/solid'; import { useState } from 'react'; import Checkbox from '@/components/elements/inputs/Checkbox'; import { Dropdown } from '@/components/elements/dropdown'; import { Dialog } from '@/components/elements/dialog'; import { Button } from '@/components/elements/button'; import { User } from '@definitions/admin'; interface Props { user: User; selected?: boolean; onRowChange: (user: User, selected: boolean) => void; } const UserTableRow = ({ user, selected, onRowChange }: Props) => { const [visible, setVisible] = useState(false); return ( <>
{user.email}
{user.uuid}