From efe901e196afb5b0d9e8db54a40e990f22fb9754 Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Tue, 30 Apr 2024 22:25:15 +0200 Subject: [PATCH] Update theme types --- theme/src/types.d.ts | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/theme/src/types.d.ts b/theme/src/types.d.ts index e6678212569..a6b6b4f3682 100644 --- a/theme/src/types.d.ts +++ b/theme/src/types.d.ts @@ -1,34 +1 @@ /// - -declare module '@theme/CodeSnippetBlock' { - import type { Props as BaseProps } from '@theme/CodeBlock'; - - export interface Props extends Omit { - language: string; - code: string; - startString?: string; - endString?: string; - } - - export default function CodeSnippetBlock(props: Props): JSX.Element; -} - -declare module '@theme/AddToMetaMaskButton' { - export default function AddToMetaMaskButton(): JSX.Element; -} - -declare module '@theme/DocBanner' { - export default function DocBanner(): JSX.Element; -} - -declare module '@theme/NetworkInfo' { - export default { - IOTA: JSX.Element, - Shimmer: JSX.Element, - ShimmerEVM: JSX.Element, - ShimmerEVMAdditional: JSX.Element, - Testnet: JSX.Element, - TestnetEVM: JSX.Element, - TestnetEVMAdditional: JSX.Element, - }; -}