MediaSFU React Native
    Preparing search index...

    Variable ControlButtonsAltComponentConst

    ControlButtonsAltComponent: React.FC<ControlButtonsAltComponentOptions> = ...

    Renders compact control badges typically shown near the stage presenter or pinned video card. Supports anchored positioning, shared icon overrides, and render hooks for integration with custom shells or animated wrappers.

    • Anchor buttons to any corner/edge of the stage via position and location.
    • Arrange buttons horizontally or vertically with direction.
    • Provide shared icon overrides for all buttons or per-button custom components.
    • Toggle visibility globally with showAspect prop.
    • Each button uses Pressable, exposing default press feedback.
    • Descriptive labels should be provided via name or injected within customComponent.
    <ControlButtonsAltComponent
    buttons={[
    { icon: 'microphone', alternateIcon: 'microphone-slash', active: isMuted, onPress: toggleMute },
    { icon: 'expand', onPress: expandStage },
    ]}
    position="right"
    location="top"
    direction="horizontal"
    showAspect
    />