We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e604d0 commit 1f78ed8Copy full SHA for 1f78ed8
packages/react-composites/src/composites/CallComposite/components/buttons/Camera.tsx
@@ -41,7 +41,11 @@ export const Camera = (props: {
41
enableDeviceSelectionMenu={props.splitButtonsForDeviceSelection}
42
disableTooltip={props.disableTooltip}
43
disabled={cameraButtonProps.disabled || props.disabled || !!(isRoomsCall && role === 'Unknown')}
44
- onRenderOffIcon={undefined}
+ onRenderOffIcon={
45
+ turnVideoOnCapability && !turnVideoOnCapability.isPresent
46
+ ? () => <_HighContrastAwareIcon disabled={true} iconName={'ControlButtonCameraProhibited'} />
47
+ : undefined
48
+ }
49
onClickVideoEffects={props.onClickVideoEffects}
50
componentRef={props.componentRef}
51
/>
0 commit comments