From bd202df41755c581844d0ab1773ba55968b15450 Mon Sep 17 00:00:00 2001
From: Nate Sesti <sestinj@gmail.com>
Date: Fri, 4 Aug 2023 13:50:28 -0700
Subject: feat: :children_crossing: more keyboard shortcuts

---
 extension/react-app/src/components/HeaderButtonWithText.tsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'extension/react-app/src/components/HeaderButtonWithText.tsx')

diff --git a/extension/react-app/src/components/HeaderButtonWithText.tsx b/extension/react-app/src/components/HeaderButtonWithText.tsx
index de8e3c98..bcd36972 100644
--- a/extension/react-app/src/components/HeaderButtonWithText.tsx
+++ b/extension/react-app/src/components/HeaderButtonWithText.tsx
@@ -10,6 +10,8 @@ interface HeaderButtonWithTextProps {
   disabled?: boolean;
   inverted?: boolean;
   active?: boolean;
+  className?: string;
+  onKeyDown?: (e: any) => void;
 }
 
 const HeaderButtonWithText = (props: HeaderButtonWithTextProps) => {
@@ -29,6 +31,8 @@ const HeaderButtonWithText = (props: HeaderButtonWithTextProps) => {
           setHover(false);
         }}
         onClick={props.onClick}
+        onKeyDown={props.onKeyDown}
+        className={props.className}
       >
         {props.children}
       </HeaderButton>
-- 
cgit v1.2.3-70-g09d2

