UNPKG

@adyen/kyc-components

Version:

This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.

2 lines (1 loc) 174 B
export declare const useModalAction: () => (label: string, actionType: "open" | "close" | "cancel", setModalState: (isOpen: boolean) => void, callback?: () => void) => void;