UNPKG

bananas-commerce-admin

Version:

What's this, an admin for apes?

15 lines (14 loc) 553 B
export interface HumanReadablePaymentMethod { name: string; color: string; } /** * Function to get the payment method name and color based on the method string. * @param method The payment method string to match. * @param theme Optional MUI theme object for accessing palette colors. * @returns An object containing the payment method name and color. */ export declare function getHumanReadablePaymentMethod(method: string, { theme, disambiguateCards, }?: { theme?: any; disambiguateCards?: boolean; }): HumanReadablePaymentMethod;