From 47af2abe2c7dfa1b18494092278cbfb0a54f5db5 Mon Sep 17 00:00:00 2001
From: Balaji Vijayakumar <kuttibalaji.v6@gmail.com>
Date: Wed, 26 Oct 2022 18:49:54 +0530
Subject: refactor: convert AccountDashboard to typescript

---
 src/components/ui/infobox/index.tsx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'src/components/ui/infobox/index.tsx')

diff --git a/src/components/ui/infobox/index.tsx b/src/components/ui/infobox/index.tsx
index d1d7ef6cd..ad59ea81e 100644
--- a/src/components/ui/infobox/index.tsx
+++ b/src/components/ui/infobox/index.tsx
@@ -7,15 +7,16 @@ import { Theme } from '../../../themes';
 import Icon from '../icon';
 
 interface IProps extends WithStylesProps<typeof styles> {
+  children: ReactNode;
   icon?: string;
   type?: string;
   dismissable?: boolean;
+  ctaLabel?: string;
+
+  className?: string;
   onDismiss?: () => void;
   onUnmount?: () => void;
   ctaOnClick?: () => void;
-  ctaLabel?: string;
-  children: ReactNode;
-  className: string;
 }
 
 interface IState {
@@ -114,6 +115,7 @@ class InfoboxComponent extends Component<IProps, IState> {
     ctaOnClick: () => {},
     onDismiss: () => {},
     ctaLabel: '',
+    className: '',
   };
 
   state = {
-- 
cgit v1.2.3-70-g09d2

