import React from 'react'; import * as Styled from '../styles'; import { GenericContentMainAreaProps } from '../types'; import GenericContentItem from '../generic-content-item/component'; const GenericMainContent: React.FC = ({ isResizing, genericContentLayoutInformation, renderFunctionComponents, genericContentId, }) => { const { height, width, top, left, right, } = genericContentLayoutInformation; const isMinimized = width === 0 && height === 0; const componentToRender = renderFunctionComponents.filter((g) => genericContentId === g.id); return ( ); }; export default GenericMainContent;