mirror of
https://github.com/Radarr/Radarr
synced 2026-03-02 02:21:51 +01:00
33 lines
613 B
JavaScript
33 lines
613 B
JavaScript
import PropTypes from 'prop-types';
|
|
import React from 'react';
|
|
import styles from './VirtualTableRowCell.css';
|
|
|
|
function VirtualTableRowCell(props) {
|
|
const {
|
|
className,
|
|
children,
|
|
title
|
|
} = props;
|
|
|
|
return (
|
|
<div
|
|
className={className}
|
|
title={title}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
VirtualTableRowCell.propTypes = {
|
|
className: PropTypes.string.isRequired,
|
|
children: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
title: PropTypes.string
|
|
};
|
|
|
|
VirtualTableRowCell.defaultProps = {
|
|
className: styles.cell,
|
|
title: ''
|
|
};
|
|
|
|
export default VirtualTableRowCell;
|