1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 23:48:47 +00:00

redesigned all 'empty-tip'

This commit is contained in:
llj
2019-06-10 17:30:10 +08:00
parent c2efc18ac4
commit c54ae6cb01
15 changed files with 75 additions and 43 deletions

View File

@@ -0,0 +1,17 @@
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;