Add checkboxes for documents table
Helps #167 Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
committed by
Sacha Al Himdani
parent
25b330f948
commit
a4606f95f5
@@ -5,6 +5,7 @@ import {
|
||||
type HTMLAttributes,
|
||||
type PropsWithChildren,
|
||||
type ReactNode,
|
||||
type ThHTMLAttributes,
|
||||
} from "react";
|
||||
import { Card } from "../Card/Card";
|
||||
import { Link } from "react-router";
|
||||
@@ -34,9 +35,15 @@ export function Th({
|
||||
children,
|
||||
className,
|
||||
width,
|
||||
}: PropsWithChildren<{ className?: string; width?: number }>) {
|
||||
...props
|
||||
}: {
|
||||
className?: string;
|
||||
width?: number;
|
||||
colspan?: number;
|
||||
} & ThHTMLAttributes<HTMLTableCellElement>) {
|
||||
return (
|
||||
<th
|
||||
{...props}
|
||||
className={clsx(
|
||||
"first:pl-6 last:pr-6 py-3 whitespace-nowrap",
|
||||
className,
|
||||
|
||||
Reference in New Issue
Block a user