Release v0.1.6

This commit is contained in:
2026-07-07 16:00:38 +02:00
parent a2053518d1
commit 150b720f12
149 changed files with 14311 additions and 8005 deletions

View File

@@ -0,0 +1,26 @@
import type { ReactNode } from "react";
import Button from "../Button";
type Props = {
label: string;
icon: ReactNode;
onClick?: () => void;
disabled?: boolean;
variant?: "primary" | "secondary" | "ghost" | "danger";
};
export default function AdminIconButton({ label, icon, onClick, disabled = false, variant = "secondary" }: Props) {
return (
<Button
type="button"
variant={variant}
className="admin-icon-button"
aria-label={label}
title={label}
disabled={disabled}
onClick={onClick}
>
{icon}
</Button>
);
}