content: /**
   *
   * @author son87.lengoc@gmail.com
   * Created: 01.03.2017 at 21:44
   */
  
  
  import React, { Component } from 'react';
  
  import ReactGridLayout from 'react-grid-layout'
  
  class TestGrid extends Component {
  
      constructor(props){
  
          super(props);
  
      }
  
      render() {
  
          // layout is an array of objects, see the demo for more complete usage
          var layout = [
  
              {i: 'a', x: 0, y: 0, w: 1, h: 2, static: true},
  
              {i: 'b', x: 1, y: 0, w: 3, h: 2, minW: 2, maxW: 4},
  
              {i: 'c', x: 4, y: 0, w: 1, h: 2}
  
          ];
  
          return (
  
              <ReactGridLayout className="layout" layout={layout} cols={12} rowHeight={30} width={1200}>
  
                <div key={'a'}>a</div>
  
                <div key={'b'}>b</div>
  
                <div key={'c'}>c</div>
  
              </ReactGridLayout>
  
          )
  
      }
  
  }
  
  export default TestGrid;