sendou.ink/app/components/Table.tsx
2026-06-18 13:30:17 +03:00

21 lines
352 B
TypeScript

import clsx from "clsx";
import styles from "./Table.module.css";
export function Table({
children,
noRowHover,
}: {
children: React.ReactNode;
noRowHover?: boolean;
}) {
return (
<div className={styles.container}>
<table
className={clsx(styles.table, { [styles.noRowHover]: noRowHover })}
>
{children}
</table>
</div>
);
}