Const
// Basic control strip at bottom
<SubAspectComponent
backgroundColor="#2d2d2d"
showControls
defaultFractionSub={0.1}
>
<ControlButtonsComponent buttons={controlButtons} />
</SubAspectComponent>
// Hidden controls with custom fractions
<SubAspectComponent
backgroundColor="transparent"
showControls={false}
containerWidthFraction={0.9}
containerHeightFraction={0.15}
defaultFractionSub={0.12}
style={{ borderTopWidth: 1, borderTopColor: '#444' }}
>
<ParticipantBar participants={participants} />
</SubAspectComponent>
// With animated container
<SubAspectComponent
backgroundColor="#000"
showControls={controlsVisible}
renderContainer={({ defaultContainer, dimensions }) => (
<Animated.View style={{ height: slideAnim, overflow: 'hidden' }}>
{defaultContainer}
</Animated.View>
)}
>
<MeetingControls />
</SubAspectComponent>
SubAspectComponent renders the auxiliary strip used for stage controls, resizing with the viewport and honoring the
showControls
flag. Consumers can override either the content or the container via render hooks.Key Features
Accessibility