bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/webcam/drop-areas/container.jsx

16 lines
422 B
React
Raw Normal View History

import React from 'react';
2021-09-11 04:48:52 +08:00
import { layoutSelectOutput } from '../../layout/context';
import DropArea from './component';
const DropAreaContainer = () => {
2021-09-11 04:48:52 +08:00
const dropZoneAreas = layoutSelectOutput((i) => i.dropZoneAreas);
return (
Object.keys(dropZoneAreas).map((objectKey) => (
2021-07-14 00:52:20 +08:00
<DropArea key={objectKey} id={objectKey} style={dropZoneAreas[objectKey]} />
))
);
};
export default DropAreaContainer;