@flopay/react 1.4.2 → 1.4.4

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.
package/README.md CHANGED
@@ -280,6 +280,11 @@ Switch from the default form layout to stacked payment buttons with an expandabl
280
280
  />
281
281
  ```
282
282
 
283
+ `layout` can be changed at runtime. Switching a mounted `FloPayCheckout` from
284
+ the default layout to `"buttons"` keeps the resolved checkout session and its
285
+ gateway capabilities, so the **Credit / Debit Card** choice remains available
286
+ without recreating the session.
287
+
283
288
  > **Deprecated**: the legacy `buttonsTheme` prop (`'default'` / `'minimal'` / `'rounded'` / `'dark'`) still works but new code should use `theme` so the same value drives both the buttons-layout wrapper and the auto-payment fallback. See [ButtonsLayoutStyles reference](https://docs.flopay.com/api-reference/react/flopay-checkout#buttonslayoutstyles-reference) for the underlying override fields.
284
289
 
285
290
  #### Button Hooks