diff --git a/src/wallet/index.ts b/src/wallet/index.ts index 6063116126..eec4f9abea 100644 --- a/src/wallet/index.ts +++ b/src/wallet/index.ts @@ -4,6 +4,7 @@ export { Wallet } from './components/Wallet'; export { WalletDropdown } from './components/WalletDropdown'; export { WalletDropdownBaseName } from './components/WalletDropdownBaseName'; export { WalletDropdownDisconnect } from './components/WalletDropdownDisconnect'; +export { WalletDropdownFundLink } from './components/WalletDropdownFundLink'; export { WalletDropdownLink } from './components/WalletDropdownLink'; export { isValidAAEntrypoint } from './utils/isValidAAEntrypoint'; export { isWalletACoinbaseSmartWallet } from './utils/isWalletACoinbaseSmartWallet'; @@ -16,6 +17,7 @@ export type { WalletDropdownBaseNameReact, WalletDropdownDisconnectReact, WalletDropdownLinkReact, + WalletDropdownFundLinkReact, WalletDropdownReact, WalletReact, } from './types'; diff --git a/src/wallet/types.ts b/src/wallet/types.ts index 631a2566f9..24e1b15b42 100644 --- a/src/wallet/types.ts +++ b/src/wallet/types.ts @@ -107,3 +107,17 @@ export type WalletDropdownLinkReact = { rel?: string; target?: string; }; + +/** + * Note: exported as public Type + */ +export type WalletDropdownFundLinkReact = { + className?: string; // Optional className override for the element + href: string; + icon?: ReactNode; + rel?: string; + target?: string; + text?: string; + type?: 'window' | 'tab'; + size?: 's' | 'm' | 'l'; +};