bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/webcam/drop-areas/container.jsx
2021-09-10 17:48:52 -03:00

16 lines
422 B
JavaScript

import React from 'react';
import { layoutSelectOutput } from '../../layout/context';
import DropArea from './component';
const DropAreaContainer = () => {
const dropZoneAreas = layoutSelectOutput((i) => i.dropZoneAreas);
return (
Object.keys(dropZoneAreas).map((objectKey) => (
<DropArea key={objectKey} id={objectKey} style={dropZoneAreas[objectKey]} />
))
);
};
export default DropAreaContainer;