UNPKG

cluedin-widget

Version:

This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.

21 lines (16 loc) 452 B
import React, { Component } from 'react'; export default class Col extends Component { render() { const { size, mobileSize } = this.props; let className = "cluedIn_col"; if( size ) { className += (" m" + size); } if( mobileSize ) { className += (" s" + mobileSize); } return (<div className={className}> {this.props.children} </div>); } };