You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/frontend/src/Components/Table/VirtualTableRow.js

35 lines
590 B

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;