Cluster Dropdown
A dropdown that lists clusters and allows to switch between them
The WalletUiClusterDropdown
is a pre-built component that allows users to switch between the Solana clusters you have configured in the WalletUi
provider.
The dropdown will automatically be populated with the clusters you provide.
Usage
import { WalletUiClusterDropdown } from '@wallet-ui/react';
function MyComponent() {
return <WalletUiClusterDropdown />;
}
Props
Name | Type | Default |
---|---|---|
buttonProps | BaseButtonProps | {} |