File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export type StateType =
2121
2222export type WillInitHandler = ( ) => void ;
2323export type WillShowHandler = ( ) => void ;
24- export type FinalStateHasBeenReachedHandler = ( data : { state : StateType } ) => false | void ;
24+ export type FinalStateHasBeenReachedHandler = ( data : { state : StateType } ) => false | unknown ;
2525export type DidShowStateHandler = ( data : { state : StateType } ) => void ;
2626export type WillDisplayMessageHandler = ( data : {
2727 id : string ;
@@ -34,7 +34,7 @@ export type BeforePaymentHandler = () => boolean | void;
3434
3535export interface PaylineWidgetProps extends React . HTMLAttributes < HTMLDivElement > {
3636 token : string ;
37- template ?: string ;
37+ template ?: 'tab' | 'column' | 'lightbox' | 'shortcut' ;
3838 embeddedRedirectionAllowed ?: boolean ;
3939 partnerReturnUrl ?: string ;
4040
You can’t perform that action at this time.
0 commit comments