// @flow import React from 'react'; type Props = { text: ?string, }; class Empty extends React.PureComponent { static defaultProps = { text: '', }; render() { const { text } = this.props; return (
{text && (

{text}

)}
); } } export default Empty;