diff --git a/frontend/src/Editor/Components/Container.jsx b/frontend/src/Editor/Components/Container.jsx index b1735149fc..9422d2c57c 100644 --- a/frontend/src/Editor/Components/Container.jsx +++ b/frontend/src/Editor/Components/Container.jsx @@ -1,8 +1,15 @@ -import React from 'react'; +import React, { useRef } from 'react'; +import { SubCustomDragLayer } from '../SubCustomDragLayer'; +import { SubContainer } from '../SubContainer'; export const Container = function Container({ - id, width, height, component, onComponentClick + id, + component, + height, + containerProps, + width }) { + const backgroundColor = component.definition.styles.backgroundColor.value; const computedStyles = { @@ -11,5 +18,19 @@ export const Container = function Container({ height }; - return