add tests for ActionButton

This commit is contained in:
Athou
2025-03-02 13:57:54 +01:00
parent 5992795579
commit 7a444e4861
2 changed files with 51 additions and 1 deletions

View File

@@ -7,8 +7,8 @@ import { useActionButton } from "hooks/useActionButton"
import { type MouseEventHandler, type ReactNode, forwardRef } from "react"
interface ActionButtonProps {
icon: ReactNode
className?: string
icon?: ReactNode
label?: string | MessageDescriptor
onClick?: MouseEventHandler
variant?: ActionIconVariant & ButtonVariant