返回 presentation-ai
table-row-static.tsx
根目录 / src / components / notebook / presentation / editor / custom-elements / static / table-row-static.tsx
1 import { cn } from "@/lib/utils";
2 import { SlateElement, type SlateElementProps } from "platejs/static";
3
4 export function TableRowStatic(props: SlateElementProps) {
5 return (
6 <div className={cn("grid auto-cols-fr grid-flow-col items-stretch gap-2")}>
7 <SlateElement {...props}>{props.children}</SlateElement>
8 </div>
9 );
10 }
11
12
13
13 lines Plain Text