mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Add tooltip to path & movie title on the movie index table view
This commit is contained in:
@@ -5,12 +5,14 @@ import styles from './VirtualTableRowCell.css';
|
||||
function VirtualTableRowCell(props) {
|
||||
const {
|
||||
className,
|
||||
children
|
||||
children,
|
||||
title
|
||||
} = props;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={className}
|
||||
title={title}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
@@ -19,11 +21,13 @@ function VirtualTableRowCell(props) {
|
||||
|
||||
VirtualTableRowCell.propTypes = {
|
||||
className: PropTypes.string.isRequired,
|
||||
children: PropTypes.oneOfType([PropTypes.string, PropTypes.node])
|
||||
children: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
||||
title: PropTypes.string
|
||||
};
|
||||
|
||||
VirtualTableRowCell.defaultProps = {
|
||||
className: styles.cell
|
||||
className: styles.cell,
|
||||
title: ''
|
||||
};
|
||||
|
||||
export default VirtualTableRowCell;
|
||||
|
Reference in New Issue
Block a user