Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAlec committed Aug 9, 2024
1 parent 99f38cd commit 712b8c8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -16,6 +17,7 @@ export type {
WalletDropdownBaseNameReact,
WalletDropdownDisconnectReact,
WalletDropdownLinkReact,
WalletDropdownFundLinkReact,
WalletDropdownReact,
WalletReact,
} from './types';
14 changes: 14 additions & 0 deletions src/wallet/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
};

0 comments on commit 712b8c8

Please sign in to comment.