Skip to content

The open-source app everyone uses to manage agents at work

428 B
Raw Blame
import * as React from "react";

/** Source-adapted shadcn Button for the standalone, non-Tailwind devtool. */
export function Button({
  className = "",
  variant = "default",
  ...props
}: React.ComponentProps<"button"> & {
  variant?: "default" | "danger" | "ghost";
}) {
  return (
    <button
      data-slot="button"
      className={`pcr-button pcr-button--${variant} ${className}`.trim()}
      {...props}
    />
  );
}