24 lines
843 B
TypeScript
24 lines
843 B
TypeScript
/// <reference types="react" />
|
||
import { PayConfig } from "../../../types/PayConfig";
|
||
/**
|
||
* 支持自定义支付通道的选择器注入
|
||
* 未来遇到真正需求时再实现,by Xc 20240426
|
||
*/
|
||
export type ExtraPicker = {
|
||
label: string;
|
||
name: string;
|
||
icon: React.ForwardRefExoticComponent<any>;
|
||
component?: React.ForwardRefExoticComponent<{
|
||
onSetMeta?: (meta: object) => void;
|
||
}>;
|
||
};
|
||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, boolean, {
|
||
payConfig: PayConfig;
|
||
channel: string;
|
||
meta: object;
|
||
extraChannelPickers: ExtraPicker[];
|
||
onPick: (channel: string) => void;
|
||
onSetMeta: (meta?: object) => void;
|
||
}>) => React.ReactElement;
|
||
export default _default;
|