Valora
API Reference@valora-ai/reactindexInterfaces

MicPermissionModalProps

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

Properties

title?

optional title?: string;

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

Title; defaults to "Enable your microphone".


message?

optional message?: string;

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

Body copy explaining why the mic is needed.


onAllow?

optional onAllow?: () => void;

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

Allow-click — the host then triggers the real getUserMedia (agent start).

Returns

void


onClose?

optional onClose?: () => void;

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

Cancel / backdrop click.

Returns

void


allowLabel?

optional allowLabel?: string;

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

Allow-button label; defaults to "Allow microphone".

On this page

Valora is local-first

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

Star on GitHub