import React from 'react'; import { useAutoplayError } from '@100mslive/react-sdk'; import { Button, Dialog, Text } from '../../..'; // @ts-ignore: No implicit Any import { DialogContent, DialogRow } from '../../primitives/DialogContent'; export function AutoplayBlockedModal() { const { error, resetError, unblockAudio } = useAutoplayError(); return ( { if (!value) { await unblockAudio(); } resetError(); }} > The browser wants us to get a confirmation for playing the Audio. Please allow audio to proceed. ); }