UNPKG

@6thquake/react-material

Version:

React components that implement Google's Material Design.

34 lines (29 loc) 585 B
/** * @ignore - do not document. */ import React, { Component } from 'react'; import withStyles from '../styles/withStyles'; const style = theme => ({ root: { width: '100%', height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center' } }); class NoData extends Component { constructor(props) { super(props); this.state = {}; } render() { const { classes } = this.props; return React.createElement("div", { className: classes.root }, "No Data"); } } export default withStyles(style)(NoData);