From 98f53208bad222de67f96a2d6333cbc7f13d88c0 Mon Sep 17 00:00:00 2001 From: abefernan <44572727+abefernan@users.noreply.github.com> Date: Thu, 25 May 2023 13:15:51 +0200 Subject: [PATCH] Add divProps to enable onClick --- components/layout/StackableContainer.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/layout/StackableContainer.tsx b/components/layout/StackableContainer.tsx index 4262e43..d4b6667 100644 --- a/components/layout/StackableContainer.tsx +++ b/components/layout/StackableContainer.tsx @@ -1,5 +1,3 @@ -import React from "react"; - interface Props { base?: boolean; children: React.ReactNode; @@ -7,10 +5,11 @@ interface Props { lessMargin?: boolean; lessRadius?: boolean; fullHeight?: boolean; + divProps?: React.HTMLAttributes; } const StackableContainer = (props: Props) => ( -
+
{props.children}