Make types happier

This commit is contained in:
Michael Telatynski 2026-03-27 13:36:44 +00:00
parent 3731bd28ef
commit 50ab18a714
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D

View File

@ -13,7 +13,7 @@ import Modal from "../../../Modal";
import InfoDialog from "../dialogs/InfoDialog";
import AccessibleButton, { type ButtonProps } from "./AccessibleButton";
type Props = Omit<ButtonProps<"div">, "element" | "kind" | "onClick" | "className"> & {
type Props = Omit<ButtonProps<"button">, "element" | "kind" | "onClick" | "className"> & {
title: string;
description: string | React.ReactNode;
};