mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 23:58:36 -05:00
Move app to apps/web-react in pnpm workspace layout
This commit is contained in:
20
apps/web-react/app/components/Table.tsx
Normal file
20
apps/web-react/app/components/Table.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user