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) • 405 B
JSX
import React, { Component } from 'react'
class Spacer extends Component {
render() {
const { show } = this.props;
let spacerStyle = {
display: 'none'
};
if( show ) {
spacerStyle = {
margin: '15px 0'
}
}
return (<div style={spacerStyle}>{this.props.children}</div>);
}
}
export default Spacer;