1 import React from 'react'
2 import ActionBar from './ActionBar'
4 export default ({ title, children, columnCloser, isLast, actions, handler }) => {
8 actions = actions ? actions.slice() : [];
11 actionBar = (<ActionBar actions={actions} handler={(operation) => operation === 'close' ? columnCloser() : handler(operation)} />);
13 actionBar = (<ActionBar />);
16 <div className='column' style={{ backgroundColor: 'gainsboro', height: '100%', display: 'flex', flexDirection: 'column', marginLeft: '4px', marginRight: '4px' }} >
17 <h2 style={{ marginBottom: '4px' }} >{title}</h2>