File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
packages/thirdweb/src/react/web/ui/ConnectWallet Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -895,6 +895,7 @@ export function DetailsModal(props: {
895895 client = { client }
896896 closeModal = { closeModal }
897897 locale = { locale }
898+ manageWallet = { props . detailsModal ?. manageWallet }
898899 onBack = { ( ) => {
899900 setScreen ( "main" ) ;
900901 } }
@@ -1671,6 +1672,18 @@ export type UseWalletDetailsModalOptions = {
16711672 * @param screen The name of the screen that was being shown when user closed the modal
16721673 */
16731674 onClose ?: ( screen : string ) => void ;
1675+
1676+ /**
1677+ * Configure options for managing the connected wallet.
1678+ */
1679+ manageWallet ?: {
1680+ /**
1681+ * Allow linking other profiles to the connected wallet.
1682+ *
1683+ * By default it is `true`.
1684+ */
1685+ allowLinkingProfiles ?: boolean ;
1686+ } ;
16741687} ;
16751688
16761689/**
@@ -1738,6 +1751,7 @@ export function useWalletDetailsModal() {
17381751 hideReceiveFunds : props . hideReceiveFunds ,
17391752 hideSendFunds : props . hideSendFunds ,
17401753 hideSwitchWallet : props . hideSwitchWallet ,
1754+ manageWallet : props . manageWallet ,
17411755 networkSelector : props . networkSelector ,
17421756 onClose : props . onClose ,
17431757 payOptions : props . payOptions ,
You can’t perform that action at this time.
0 commit comments