Valora
API Reference@valora-ai/reactindexFunctions

MicPermissionModal

function MicPermissionModal(__namedParameters): Element;

Defined in: packages/react/src/overlays.tsx:206

A pre-permission modal shown BEFORE the browser's native microphone prompt, so the user understands why the mic is requested (and that audio stays on-device). Wire onAllow to the action that actually starts capture — surfacing this first turns the otherwise-abrupt OS prompt into an explained, opt-in step.

Parameters

ParameterType
__namedParametersMicPermissionModalProps

Returns

Element

On this page

Valora is local-first

No API key, no server — everything in this doc runs on-device.

Star on GitHub