import type { ComponentProps, ReactNode } from "react" import { Button } from "./button.tsx" import { cn } from "./utils.ts" export type ActionButtonProps = Readonly<{ label: string icon: ReactNode appearance?: "plain" | "floating" size?: "sm" | "default" pressed?: ComponentProps["aria-pressed"] disabled?: boolean className?: string tabIndex?: number }> & Omit< ComponentProps, | "aria-label" | "aria-pressed" | "children" | "className" | "disabled" | "size" | "title" | "variant" > /** Shared accessible icon action for React-owned PathMX Plugin surfaces. */ export function ActionButton({ label, icon, appearance = "plain", size = "default", pressed, disabled, className, tabIndex, ...props }: ActionButtonProps) { return ( ) }