99 lines
2.8 KiB
TypeScript
99 lines
2.8 KiB
TypeScript
import { MdOutlineRemoveRedEye } from "react-icons/md";
|
|
import { Field, Icon, Input, Stack } from "@chakra-ui/react";
|
|
import {
|
|
DialogBody,
|
|
DialogCloseTrigger,
|
|
DialogContent,
|
|
DialogHeader,
|
|
DialogRoot,
|
|
DialogTitle,
|
|
DialogTrigger,
|
|
} from "../../../components/ui/dialog";
|
|
|
|
function ViewRegisterUsers() {
|
|
return (
|
|
<DialogRoot placement="center">
|
|
<DialogTrigger asChild>
|
|
<Icon
|
|
cursor={"pointer"}
|
|
p={0.5}
|
|
_hover={{ bg: "#00000015" }}
|
|
rounded={"md"}
|
|
boxSize={5}
|
|
// color={iconColor && iconColor}
|
|
>
|
|
<MdOutlineRemoveRedEye />
|
|
</Icon>
|
|
</DialogTrigger>
|
|
|
|
<DialogContent
|
|
bg={"#fff"}
|
|
w={{ base: '90%', md: '400px' }}
|
|
height={'80vh'}
|
|
overflow={'scroll'}
|
|
overflowX="hidden"
|
|
p={3} // Reduced padding
|
|
bgSize={'md'}
|
|
>
|
|
<DialogHeader bg="white">
|
|
<DialogTitle alignSelf="center" color="black" fontSize="14px">
|
|
View Details
|
|
</DialogTitle>
|
|
</DialogHeader>
|
|
|
|
<DialogBody bg="white">
|
|
<Stack py={3}>
|
|
<Field.Root>
|
|
<Field.Label color="black" pt={1} fontSize="12px">
|
|
First Name
|
|
</Field.Label>
|
|
<Input
|
|
bgColor="#EEEEEE" color="black" border="none" pl={1} fontSize="12px" height="30px"
|
|
/>
|
|
|
|
<Field.Label color="black" pt={1} fontSize="12px">
|
|
Last Name
|
|
</Field.Label>
|
|
<Input
|
|
bgColor="#EEEEEE" color="black" border="none" pl={1} fontSize="12px" height="30px"
|
|
/>
|
|
|
|
<Field.Label color="black" pt={1} fontSize="12px">
|
|
Gender
|
|
</Field.Label>
|
|
<Input
|
|
bgColor="#EEEEEE" color="black" border="none" pl={1} fontSize="12px" height="30px"
|
|
/>
|
|
|
|
<Field.Label color="black" pt={1} fontSize="12px">
|
|
DOB
|
|
</Field.Label>
|
|
<Input
|
|
bgColor="#EEEEEE" color="black" border="none" pl={1} fontSize="12px" height="30px"
|
|
/>
|
|
|
|
<Field.Label color="black" pt={1} fontSize="12px">
|
|
OTP Verified
|
|
</Field.Label>
|
|
<Input
|
|
bgColor="#EEEEEE" color="black" border="none" pl={1} fontSize="12px" height="30px"
|
|
/>
|
|
|
|
<Field.Label color="black" pt={1} fontSize="12px">
|
|
Language
|
|
</Field.Label>
|
|
<Input
|
|
bgColor="#EEEEEE" color="black" border="none" pl={1} fontSize="12px" height="30px"
|
|
/>
|
|
</Field.Root>
|
|
</Stack>
|
|
</DialogBody>
|
|
|
|
<DialogCloseTrigger color="black" />
|
|
</DialogContent>
|
|
</DialogRoot>
|
|
);
|
|
}
|
|
|
|
export default ViewRegisterUsers;
|