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

    Interface DeviceSelectorIcons

    Custom icons for the DeviceSelector component.

    All icons in the DeviceSelector can be replaced with custom React nodes. This allows using different icon libraries or custom SVGs.

    import { FaCamera, FaMicrophone, FaVolumeUp } from 'react-icons/fa';

    const customIcons: Partial<DeviceSelectorIcons> = {
    camera: <FaCamera />,
    microphone: <FaMicrophone />,
    speaker: <FaVolumeUp />,
    };

    <DeviceSelector icons={customIcons} />
    interface DeviceSelectorIcons {
        camera: ReactNode;
        microphone: ReactNode;
        refresh: ReactNode;
        speaker: ReactNode;
        testAudio: ReactNode;
    }
    Index

    Properties

    camera: ReactNode

    Icon for the camera/video input selector

    microphone: ReactNode

    Icon for the microphone/audio input selector

    refresh: ReactNode

    Icon for the refresh devices button

    speaker: ReactNode

    Icon for the speaker/audio output selector

    testAudio: ReactNode

    Icon for the test audio button