import{jsx as n}from"react/jsx-runtime";import{u as e}from"./modal-context-DBwfUxD-.mjs";import{M as a}from"./ModalHeader-DffkxvO4.mjs";function t({title:t}){let{currentScreen:r,navigateBack:i,navigate:o,data:d,setModalData:u}=e();/*#__PURE__*/return n(a,{title:t,backFn:"ManualTransferScreen"===r?i:r===d?.funding?.methodScreen?d.funding.comingFromSendTransactionScreen?()=>o("SendTransactionScreen"):void 0:d?.funding?.methodScreen?()=>{let n=d.funding;n.usingDefaultFundingMethod&&(n.usingDefaultFundingMethod=!1),u({funding:n,solanaFundingData:d?.solanaFundingData}),o(n.methodScreen)}:void 0})}export{t};
//# sourceMappingURL=FundWalletMethodHeader-A50eT5P4.mjs.map
