@flopay/react 1.20.6 → 1.20.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,11 @@ export interface FloPayRuntimeCheckoutProps {
21
21
  * "More payment options"; without them the checkout keeps the 1.x default layout.
22
22
  */
23
23
  paymentMethodLayout?: PaymentMethodLayoutRules;
24
+ /**
25
+ * The checkout layout, as in 1.x: `default` (the card form in view) or `buttons`. The runtime
26
+ * lays out the payment methods for it; left out, the runtime keeps the 1.x default.
27
+ */
28
+ layout?: 'default' | 'buttons';
24
29
  /** The Flo-origin runtime script. */
25
30
  runtimeUrl: string;
26
31
  /** How long the runtime has to load before `onError` fires. Defaults to 10 seconds. */