mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-23 22:25:56 -04:00
Convert Table to TypeScript
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import React from 'react';
|
||||
import styles from './VirtualTableRow.css';
|
||||
|
||||
interface VirtualTableRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
||||
className: string;
|
||||
style: object;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
function VirtualTableRow({
|
||||
className = styles.row,
|
||||
children,
|
||||
style,
|
||||
...otherProps
|
||||
}: VirtualTableRowProps) {
|
||||
return (
|
||||
<div className={className} style={style} {...otherProps}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default VirtualTableRow;
|
||||
Reference in New Issue
Block a user