mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-16 16:21:48 +00:00
18 lines
412 B
JavaScript
18 lines
412 B
JavaScript
|
import React from 'react';
|
||
|
import PropTypes from 'prop-types';
|
||
|
import { mediaUrl } from '../utils/constants';
|
||
|
|
||
|
class EmptyTip extends React.Component {
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<div className="empty-tip">
|
||
|
<img src={`${mediaUrl}img/no-items-tip.png`} alt="" width="140" height="140" className="no-items-img-tip" />
|
||
|
{this.props.children}
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default EmptyTip;
|