Skip to content

Commit

Permalink
docs: Update docs (#140)
Browse files Browse the repository at this point in the history
* docs: Change `@totejs/uikit` -> `@node-real/uikit`

* fix: Update grid layout condition

* feat: Support embedding modal into page.

* fix: Fixed ssr issue

* docs: Update docs

* docs: Update docs
  • Loading branch information
wenty22 authored Apr 12, 2024
1 parent 167e6f1 commit d6d229c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions website/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,13 @@ import { WalletKitEmbeddedModal } from '@node-real/walletkit';
mode={colorMode}
options={{
initialChainId: 1,

// Hide the inner modal so that you can embed the modal into the page.
hideInnerModal: true,
hideInnerModal: true, // Hide the inner modal so that you can embed the modal into the page.
}}
>
<WalletKitEmbeddedModal />
</WalletKitProvider>
</WagmiConfig>
```jsx
## useModal, useProfileModal, useSwitchNetworkModal
Expand All @@ -173,7 +172,7 @@ const { isOpen, onOpen, onClose } = useProfileModal();
// useSwitchNetworkModal
const { isOpen, onOpen, onClose } = useSwitchNetworkModal();
<button onClick={() => onOpen()}>Open SwitchNetwork Modal</button>;
```
````

## Customizing wallets

Expand Down

0 comments on commit d6d229c

Please sign in to comment.