import React from "react"; import { Modal, ModalOverlay, ModalContent, ModalHeader, ModalBody, Button, Text, HStack, } from "@chakra-ui/react"; interface AudioConsentDialogProps { isOpen: boolean; onClose: () => void; onConsent: (given: boolean) => void; } const AudioConsentDialog = ({ isOpen, onClose, onConsent }: AudioConsentDialogProps) => { const handleConsent = (given: boolean) => { onConsent(given); onClose(); }; return ( Audio Storage Consent Can we have your permission to store this meeting's audio recording on our servers? ); }; export default AudioConsentDialog;