mirror of
https://github.com/Readarr/Readarr
synced 2026-01-08 08:33:30 +01:00
* New: UI Updates, Tag manager, More custom filters * fixup! Fix ScanFixture Unit Tests * Fixed: Sentry Errors from UI don't have release, branch, environment * Changed: Bump Mobile Detect for New Device Detection * Fixed: Build on changes to package.json * fixup! Add MetadataProfile filter option * fixup! Tag Note, Blacklist, Manual Import * fixup: Remove connectSection * fixup: root folder comment
33 lines
538 B
JavaScript
33 lines
538 B
JavaScript
import PropTypes from 'prop-types';
|
|
import React from 'react';
|
|
import styles from './TableRow.css';
|
|
|
|
function TableRow(props) {
|
|
const {
|
|
className,
|
|
children,
|
|
overlayContent,
|
|
...otherProps
|
|
} = props;
|
|
|
|
return (
|
|
<tr
|
|
className={className}
|
|
{...otherProps}
|
|
>
|
|
{children}
|
|
</tr>
|
|
);
|
|
}
|
|
|
|
TableRow.propTypes = {
|
|
className: PropTypes.string.isRequired,
|
|
children: PropTypes.node,
|
|
overlayContent: PropTypes.bool
|
|
};
|
|
|
|
TableRow.defaultProps = {
|
|
className: styles.row
|
|
};
|
|
|
|
export default TableRow;
|