chore: create frontend project from boilerplate

This commit is contained in:
Henry Li
2026-01-14 09:50:26 +08:00
parent 3ff7613dd9
commit c628c7f8db
72 changed files with 15444 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { cn } from "@/lib/utils";
import { NodeToolbar, Position } from "@xyflow/react";
import type { ComponentProps } from "react";
type ToolbarProps = ComponentProps<typeof NodeToolbar>;
export const Toolbar = ({ className, ...props }: ToolbarProps) => (
<NodeToolbar
className={cn(
"flex items-center gap-1 rounded-sm border bg-background p-1.5",
className
)}
position={Position.Bottom}
{...props}
/>
);