checkout / frames-react

React wrapper of Checkout.com Frames.

Home Page:https://docs.checkout.com/integrate/frames

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FramesInitProps.schemeChoice does not allow boolean

ThomasCedrini opened this issue · comments

Hello,

On the documentation, schemeChoice can be enabled on Frames with a boolean like this :

Frames.init({
   schemeChoice: true,
   // rest of the configuration...
});

But the current version of the lib declares FramesInitProps.schemeChoice like as a SelectorChoiceType which does not allow simple boolean.

Fixed with 8bd2a2f.

Thanks !