From cac1e6880d0526a03ab142173f4ade48afc2cd92 Mon Sep 17 00:00:00 2001 From: Ryukemeister Date: Fri, 13 Oct 2023 12:58:41 +0530 Subject: [PATCH] shift button prop types inside button component --- packages/atoms/types.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/atoms/types.ts b/packages/atoms/types.ts index e582dac451..8ebbf932ba 100644 --- a/packages/atoms/types.ts +++ b/packages/atoms/types.ts @@ -1,5 +1,3 @@ -import type React from "react"; - export interface AtomsGlobalConfigProps { /** * API endpoint for the Booker component to fetch data from, @@ -7,12 +5,3 @@ export interface AtomsGlobalConfigProps { */ webAppUrl?: string; } - -export type SVGComponent = React.FunctionComponent>; - -export interface ConnectButtonProps { - buttonText?: string; - onButtonClick: (payload: { cb: (err: { error: { message: string } } | null) => void }) => Promise; - stylesClassname?: string; - icon?: JSX.Element; -}