"use client" import { Box, Modal, ModalProps } from "@mui/material" import { useCallback } from "react"; interface Props extends Omit { }; const style = { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", bgcolor: "background.paper", pt: 5, px: 5, pb: 10, width: { xs: "80%", sm: "80%", md: "80%" }, }; const QrCodeScanner: React.FC = ({ open, }) => { const closeHandler = useCallback>( (...args) => { // onClose?.(...args); // reset(); }, [] ); return ( ) } export default QrCodeScanner