From b7481b009213a46107caf077af709d9bfdb6cbc3 Mon Sep 17 00:00:00 2001 From: Myrto Kontouli Date: Mon, 19 Feb 2024 09:37:33 +0000 Subject: [PATCH] fix: attempt to fix TileInteractive type to accept button props --- lib/src/components/tile-interactive/TileInteractive.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/components/tile-interactive/TileInteractive.tsx b/lib/src/components/tile-interactive/TileInteractive.tsx index 8413a125e..073033bbd 100644 --- a/lib/src/components/tile-interactive/TileInteractive.tsx +++ b/lib/src/components/tile-interactive/TileInteractive.tsx @@ -43,7 +43,9 @@ const StyledTileInteractive = styled.withConfig({ type TTileInteractiveProps = React.ComponentProps< typeof StyledTileInteractive -> & { type?: string } & NavigatorActions +> & + React.ButtonHTMLAttributes & + NavigatorActions export const TileInteractive = React.forwardRef< HTMLButtonElement,