Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

669 B
Raw Blame
import { Plus } from "lucide-react";
import type { ComponentProps } from "react";
import { cn } from "@/lib/cn";

export function SectionAddButton({
  className,
  ...props
}: ComponentProps<"button">) {
  return (
    <button
      type="button"
      className={cn(
        "flex size-6.5 shrink-0 items-center justify-center rounded-md text-muted-foreground outline-none transition-colors hover:bg-accent hover:text-foreground focus-visible:bg-accent focus-visible:text-foreground disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-accent",
        className,
      )}
      {...props}
    >
      <Plus className="size-3.5" />
    </button>
  );
}