mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Initial Commit Rework
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import React from 'react';
|
||||
import styles from './VirtualTableRow.css';
|
||||
|
||||
function VirtualTableRow(props) {
|
||||
const {
|
||||
className,
|
||||
children,
|
||||
style,
|
||||
...otherProps
|
||||
} = props;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={className}
|
||||
style={style}
|
||||
{...otherProps}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
VirtualTableRow.propTypes = {
|
||||
className: PropTypes.string.isRequired,
|
||||
style: PropTypes.object.isRequired,
|
||||
children: PropTypes.node
|
||||
};
|
||||
|
||||
VirtualTableRow.defaultProps = {
|
||||
className: styles.row
|
||||
};
|
||||
|
||||
export default VirtualTableRow;
|
||||
Reference in New Issue
Block a user