import PropTypes from 'prop-types';
import React from 'react';
import { kinds } from 'Helpers/Props';
import Button from 'Components/Link/Button';
import styles from './NoMovie.css';
function NoMovie(props) {
const { totalItems } = props;
if (totalItems > 0) {
return (
All movies are hidden due to the applied filter.
);
}
return (
No movies found, to get started you'll want to add a new movie or import some existing ones.
);
}
NoMovie.propTypes = {
totalItems: PropTypes.number.isRequired
};
export default NoMovie;