Hiyve Components - v1.0.0
    Preparing search index...

    Variable defaultDevicePreviewColorsConst

    defaultDevicePreviewColors: DevicePreviewColors = ...

    Default colors for the DevicePreview component.

    Colors include video background, error overlay, and audio level indicator colors at different thresholds (low/medium/high).

    import { defaultDevicePreviewColors, DevicePreview } from '@hiyve/react-ui';

    // Custom brand colors
    const customColors = {
    ...defaultDevicePreviewColors,
    progressBarLow: '#10b981', // emerald
    progressBarMedium: '#f59e0b', // amber
    progressBarHigh: '#dc2626', // red
    };

    <DevicePreview colors={customColors} onReady={handleJoin} />