import type { BaseComponent } from "../base"; import type { BorderType, ShadowType, ShapeType, SizeType, Spacing } from "../.."; import type { Dimension } from "../alignment"; import type { WalletButtonTheme } from "../wallet"; import type { StackProps } from "./stack"; export interface WalletButtonStyle { light: WalletButtonTheme; dark?: WalletButtonTheme | null; } export type WalletButtonMode = "store" | "custom"; export interface WalletButtonProps extends BaseComponent { type: "wallet_button"; size?: SizeType; dimension?: Dimension; spacing?: number; margin?: Spacing; border?: BorderType | null; shape?: ShapeType | null; style?: WalletButtonStyle | null; onWalletButtonReady?: (walletButtonAvailable?: boolean) => void; shadow?: ShadowType | null; mode?: WalletButtonMode | null; stack?: StackProps | null; }