Skip to content

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

@abhishek-01k

Description

@abhishek-01k

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions