mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-06-23 21:22:04 -05:00
21 lines
352 B
TypeScript
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>
|
|
);
|
|
}
|