Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a single ConnectWalletButton export in ui-kit package #50

Open
abhishek-01k opened this issue Jan 20, 2025 · 0 comments
Open

Make a single ConnectWalletButton export in ui-kit package #50

abhishek-01k opened this issue Jan 20, 2025 · 0 comments
Assignees

Comments

@abhishek-01k
Copy link
Contributor

abhishek-01k commented Jan 20, 2025

Currently there are two exports: <ConnectPushWalletButton /> and <TogglePushWalletButton account={account} />

Make them inside a single component only

<PushWalletButton
  account={account} // null is non-login state
  component=’button’ | component // needs to be button or custom component
  title=’title’ // this is the title displayed in the button
  styling=’styles’ // this is again taken if the styles of the button is not incorporated
>

Note: IFrame should be injected as part of that component, if design issues then move iFrame to provider or implementation part if it always will come

@abhishek-01k abhishek-01k self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant