mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
Clearer display of takeover amounts Repost from empty search result, from top page, or from claim review changes final touches bump empty comment copy they emptier validation cleanup extra
30 lines
492 B
JavaScript
30 lines
492 B
JavaScript
// @flow
|
|
import React from 'react';
|
|
|
|
type Props = {
|
|
text: ?string,
|
|
};
|
|
|
|
class Empty extends React.PureComponent<Props> {
|
|
static defaultProps = {
|
|
text: '',
|
|
};
|
|
|
|
render() {
|
|
const { text } = this.props;
|
|
|
|
return (
|
|
<div className="empty__wrap">
|
|
<div>
|
|
{text && (
|
|
<div className="empty__content">
|
|
<p className="empty__text">{text}</p>
|
|
</div>
|
|
)}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default Empty;
|