import PropTypes from 'prop-types'; import React from 'react'; import Icon from 'Components/Icon'; import MonitorToggleButton from 'Components/MonitorToggleButton'; import VirtualTableRowCell from 'Components/Table/Cells/TableRowCell'; import { icons } from 'Helpers/Props'; import translate from 'Utilities/String/translate'; import styles from './ArtistStatusCell.css'; function ArtistStatusCell(props) { const { className, artistType, monitored, status, isSaving, onMonitoredPress, component: Component, ...otherProps } = props; const endedString = artistType === 'Person' ? 'Deceased' : 'Inactive'; return ( ); } ArtistStatusCell.propTypes = { className: PropTypes.string.isRequired, artistType: PropTypes.string, monitored: PropTypes.bool.isRequired, status: PropTypes.string.isRequired, isSaving: PropTypes.bool.isRequired, onMonitoredPress: PropTypes.func.isRequired, component: PropTypes.elementType }; ArtistStatusCell.defaultProps = { className: styles.status, component: VirtualTableRowCell }; export default ArtistStatusCell;