first init of next.js proj

This commit is contained in:
tusharmagar 2025-12-10 23:48:19 +05:30 committed by Ramnique Singh
parent 338cc3d2f9
commit f21558e9e5
68 changed files with 19082 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}
/>
);