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