Radarr/frontend/src/Components/Table/TableRow.tsx
Mark McDowall 8caa839d99 Convert Table to TypeScript
(cherry picked from commit 699120a8fd54be9e70fb9a83298f94c8cb6a80bb)
2025-04-27 20:29:10 +03:00

23 lines
454 B
TypeScript

import React from 'react';
import styles from './TableRow.css';
interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
className?: string;
children?: React.ReactNode;
overlayContent?: boolean;
}
function TableRow({
className = styles.row,
children,
overlayContent,
...otherProps
}: TableRowProps) {
return (
<tr className={className} {...otherProps}>
{children}
</tr>
);
}
export default TableRow;