Skip to content

Commit

Permalink
Save changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer committed Aug 14, 2024
1 parent a99a9f3 commit 4402c78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions site/docs/pages/wallet/wallet-dropdown-link.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
WalletDropdownLink,
} from '@coinbase/onchainkit/wallet';
import WalletComponents from '../../components/WalletComponents';
import { walletDropdownLinkCustomIconSvg } from '../../components/svg/walletDropdownLinkCustomIconSvg'
import { walletDropdownLinkCustomCatIconSvg } from '../../components/svg/walletDropdownLinkCustomCatIconSvg'

# `<WalletDropdownLink />`

Expand Down Expand Up @@ -126,21 +126,6 @@ Add a custom link to the wallet dropdown menu, allowing users to navigate to ext
</Wallet>
</WalletComponents>

{/*
// custom content
children: Not an HTML attribute, but a React concept. It represents the content between opening and closing tags of a component.
- <WalletDropdownLink href="#">
<span>Profile</span>
<span>👤</span>
</WalletDropdownLink>
<span className="font-bold">Bold</span> and <span className="italic">Italic</span>
Or update text?
*/}

### Custom children components
Accepts React children, enabling the use of custom elements, styled text, icons, and complex components.
This allows for diverse customizations, including complex layouts and conditional rendering based on your app's state.
Expand Down Expand Up @@ -184,6 +169,7 @@ You can override component styles using className.
Wallet // [!code focus]
</WalletDropdownLink> // [!code focus]
```

<WalletComponents>
<Wallet>
<ConnectWallet>
Expand Down

0 comments on commit 4402c78

Please sign in to comment.