mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
Convert Table to TypeScript
(cherry picked from commit 699120a8fd54be9e70fb9a83298f94c8cb6a80bb)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user