(props: ComponentProps<"td">)
| 68 | }; |
| 69 | |
| 70 | export const TableCell = (props: ComponentProps<"td">) => { |
| 71 | const [local, rest] = splitProps(props, ["class"]); |
| 72 | |
| 73 | return ( |
| 74 | <td |
| 75 | class={cn( |
| 76 | "p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", |
| 77 | local.class, |
| 78 | )} |
| 79 | {...rest} |
| 80 | /> |
| 81 | ); |
| 82 | }; |
| 83 | |
| 84 | export const TableCaption = (props: ComponentProps<"caption">) => { |
| 85 | const [local, rest] = splitProps(props, ["class"]); |