Connect Button
The Connect Button provides an option to easily integrate the Wallet Kit
The <ConnectButton>
component is a highly customizable button that supports the ANS protocol to display information about the connected wallet.
Usage
After importing the component, you can use it anywhere in your React application:
Configuration
You can configure the Connect Button through its props:
Props | Type | Description |
---|---|---|
|
| A theme color for the button |
|
| Show user balance when connected |
|
| Show user profile picture when connected |
|
| Use ANS to grab profile information |
|
| Show profile modal on click (if disabled, clicking the button will disconnect the user) |
Last updated