Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer committed Aug 13, 2024
1 parent a010953 commit 197d61b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
14 changes: 7 additions & 7 deletions site/docs/pages/wallet/wallet-dropdown-base-name.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ This component enhances the wallet interface by providing easy access to Base Na
## Usage

```tsx
import {
ConnectWallet,
Wallet,
WalletDropdown,
WalletDropdownBaseName, // [!code focus]
WalletDropdownDisconnect,
} from '@coinbase/onchainkit/wallet';
import {
Address,
Avatar,
Expand All @@ -42,6 +35,13 @@ import {
EthBalance,
} from '@coinbase/onchainkit/identity';
import { color } from '@coinbase/onchainkit/theme';
import {
ConnectWallet,
Wallet,
WalletDropdown,
WalletDropdownBaseName, // [!code focus]
WalletDropdownDisconnect,
} from '@coinbase/onchainkit/wallet';

export function WalletComponents() {
return (
Expand Down
28 changes: 14 additions & 14 deletions site/docs/pages/wallet/wallet-dropdown-disconnect.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
import {
ConnectWallet,
Wallet,
WalletDropdown,
WalletDropdownLink,
WalletDropdownBaseName,
WalletDropdownDisconnect,
} from '@coinbase/onchainkit/wallet';
import {
Address,
Avatar,
Expand All @@ -14,6 +6,14 @@ import {
EthBalance,
} from '@coinbase/onchainkit/identity';
import { color } from '@coinbase/onchainkit/theme';
import {
ConnectWallet,
Wallet,
WalletDropdown,
WalletDropdownLink,
WalletDropdownBaseName,
WalletDropdownDisconnect,
} from '@coinbase/onchainkit/wallet';
import WalletComponents from '../../components/WalletComponents';

# `<WalletDropdownDisconnect />`
Expand All @@ -23,12 +23,6 @@ The `WalletDropdownDisconnect` component is used to disconnect the wallet from t
## Usage

```tsx
import {
ConnectWallet,
Wallet,
WalletDropdown,
WalletDropdownDisconnect, // [!code focus]
} from '@coinbase/onchainkit/wallet';
import {
Address,
Avatar,
Expand All @@ -37,6 +31,12 @@ import {
EthBalance,
} from '@coinbase/onchainkit/identity';
import { color } from '@coinbase/onchainkit/theme';
import {
ConnectWallet,
Wallet,
WalletDropdown,
WalletDropdownDisconnect, // [!code focus]
} from '@coinbase/onchainkit/wallet';

export function WalletComponents() {
return (
Expand Down
14 changes: 7 additions & 7 deletions site/docs/pages/wallet/wallet-dropdown-link.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ The `WalletDropdownLink` creates a custom link within the dropdown. Use the icon
## Usage

```tsx
import {
ConnectWallet,
Wallet,
WalletDropdown,
WalletDropdownLink, // [!code focus]
WalletDropdownDisconnect,
} from '@coinbase/onchainkit/wallet';
import {
Address,
Avatar,
Expand All @@ -38,6 +31,13 @@ import {
EthBalance,
} from '@coinbase/onchainkit/identity';
import { color } from '@coinbase/onchainkit/theme';
import {
ConnectWallet,
Wallet,
WalletDropdown,
WalletDropdownLink, // [!code focus]
WalletDropdownDisconnect,
} from '@coinbase/onchainkit/wallet';

export function WalletComponents() {
return (
Expand Down

0 comments on commit 197d61b

Please sign in to comment.