| 1 | "use client"; |
| 2 | |
| 3 | import { cn } from "@/lib/utils"; |
| 4 | import { PlateElement, type PlateElementProps } from "platejs/react"; |
| 5 | |
| 6 | export const TableRow = (props: PlateElementProps) => { |
| 7 | return ( |
| 8 | <div className={cn("grid auto-cols-fr grid-flow-col items-stretch gap-2")}> |
| 9 | <PlateElement {...props}>{props.children}</PlateElement> |
| 10 | </div> |
| 11 | ); |
| 12 | }; |
| 13 |