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