From 1f085f600b61beec096af958d645e1320d62083c Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Sun, 28 Apr 2024 10:47:34 +0200 Subject: [PATCH] Update README and tests --- .../docs/tutorial-basics/markdown-features.mdx | 5 +++-- theme/README.md | 10 +++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/cli/test/tutorial/docs/tutorial-basics/markdown-features.mdx b/cli/test/tutorial/docs/tutorial-basics/markdown-features.mdx index 5d8e8960aec..413fbded4c5 100644 --- a/cli/test/tutorial/docs/tutorial-basics/markdown-features.mdx +++ b/cli/test/tutorial/docs/tutorial-basics/markdown-features.mdx @@ -1,7 +1,8 @@ --- sidebar_position: 4 --- -import AddToMetaMaskButton from '@theme/AddToMetaMaskButton' +import { AddToMetaMaskButton } from '@theme/AddToMetaMaskButton' +import { Networks } from '@theme/constant' import CodeSnippetBlock from '@theme/CodeSnippetBlock' import code_snippet from '!!raw-loader!../../code_snippet.py' @@ -152,4 +153,4 @@ This is Facebook blue ! ## AddToMetaMaskButton - + diff --git a/theme/README.md b/theme/README.md index 31e74673077..6f553ec6216 100644 --- a/theme/README.md +++ b/theme/README.md @@ -29,9 +29,10 @@ module.exports = { A button to add the ShimmerEVM network to MetaMask. ``` -import {AddToMetaMaskButton} from '@theme/AddToMetaMaskButton' +import { AddToMetaMaskButton } from '@theme/AddToMetaMaskButton' +import { Networks } from '@theme/constant' - + ``` ### CodeSnippetBlock @@ -55,8 +56,11 @@ A set of components showing information about the different networks. ``` import NetworkInfo from '@theme/NetworkInfo' +import { Networks } from '@theme/constant' - + + + ``` ## Swizzling components