This will eventually be used in the provision-wallet-notice dialog (future PR), but can also be used standalone.
It uses the interchain-ui button component so it's themeable with the ThemeProvider and looks consistent with the network dropdown and wallet connection modal.
Also exposes leapElementsClient if clients need to use leap elements in a different context.
refs https://github.com/Agoric/ui-kit/issues/78
This PR bases off https://github.com/Agoric/ui-kit/pull/97, will move out of draft after that merges.
This will eventually be used in the provision-wallet-notice dialog (future PR), but can also be used standalone.
It uses the
interchain-ui
button component so it's themeable with theThemeProvider
and looks consistent with the network dropdown and wallet connection modal.Also exposes
leapElementsClient
if clients need to use leap elements in a different context.Testing
Tested with dapp-offer-up in https://github.com/Agoric/dapp-offer-up/commit/55946aed0a3ac1250b4d248a38956c4c7fecced1
Screenshots