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.
18 lines (13 loc) • 503 B
JSX
import React, { Component } from 'react';
import CSSModules from 'react-css-modules';
import styles from './CluedInViewMoreButton.scss';
class CluedInViewMoreButton extends Component {
render() {
const { number } = this.props;
if( number && number > 0 ) {
return <a styleName="viewMore">+{number} More...</a>;
}
return <a styleName="viewMore">View More</a>;
}
}
export default CSSModules( CluedInViewMoreButton, styles, { allowMultiple: true } );