import { IActionComProps } from "../../interface"; export interface FieldsType extends IActionComProps { payOptionName: string; payOptionIconUrl: string; payOptionCode: string; payOptionId: string; selected: boolean; unselectedImgUrl: string; selectedImgUrl: string; available: boolean; } export interface SharePaymentMethodEffect { onShare: (ctx?: any) => void; onSelect: (ctx?: any) => void; } export interface SharePaymentMethodProps { fields: FieldsType; onShare: SharePaymentMethodEffect["onShare"]; onSelect: SharePaymentMethodEffect["onSelect"]; }