mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Make types happier
This commit is contained in:
parent
3731bd28ef
commit
50ab18a714
@ -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;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user