import React from 'react' ; import { LayoutElementMetadata } from "./layout" ; interface VisualizationGroupProps { metadata : LayoutElementMetadata ; } export class ZoneLayoutVisualizationGroup extends React . PureComponent < VisualizationGroupProps > { render ( ) { const stackingOrientation = this . props . metadata . stackingOrientation ? 'is-' + this . props . metadata . stackingOrientation : '' ; return ( < div className = { `visualization-group ${ stackingOrientation }` } > { this . props . children } < /div>); } }