mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-23 22:25:56 -04:00
24 lines
479 B
TypeScript
24 lines
479 B
TypeScript
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;
|