bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/webcam/container.jsx
2021-05-24 14:05:39 -03:00

18 lines
475 B
JavaScript

import React, { useContext } from 'react';
import { NLayoutContext } from '../layout/context/context';
import WebcamComponent from './component';
const WebcamContainer = () => {
const LayoutContext = useContext(NLayoutContext);
const { newLayoutContextState } = LayoutContext;
const { output } = newLayoutContextState;
const { cameraDock } = output;
return (
<WebcamComponent
cameraDockBounds={cameraDock}
/>
);
};
export default WebcamContainer;