Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <ResponsiveReactGridLayout className="layout" breakpoints={{lg: 1200}}
  2. layouts={{lg: this.props.layout}}
  3. cols={{lg: 24}} rowHeight={30} draggableHandle={"div.draggable"} >
  4.  
  5. {this.props.modules.map(function (module) {
  6. return (
  7. <div key={module.id}>
  8. <GridElement key={"gridElem-" + module.id} gridElemId={module.id} />
  9. </div>
  10. )
  11. })}
  12. </ResponsiveReactGridLayout>
  13.  
  14. <div>
  15. <GridElementHeader gridElemId={this.props.gridElemId} name={this.props.name} root={this.props.root}/>
  16. <GridElementContent gridElemId={this.props.gridElemId} name={this.props.name} type={this.props.type} root={this.props.root}/>
  17. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement