NoData.js
707 Bytes
import React, { PropTypes } from 'react';
import cx from 'classnames';
import s from './prompt.les';
export default class NoData extends React.Component {
constructor(props) {
super(props);
this.state = {
}
}
componentDidMount() {
}
render() {
return (
<div style={{ textAlign: 'center', margin: '100px 0px' }}>
{
this.props.permission ?
<img src="img/permission.png" style={{ width: '360px' }} />
:
<img src="img/icon_sj_nor.png" style={{ width: '220px' }} />
}
</div>
)
}
}