🎨 Use new callback method props

This commit is contained in:
Philipp Stracker 2025-01-23 19:41:31 +01:00
parent 31856def94
commit 294bd5c67b
No known key found for this signature in database

View file

@ -84,7 +84,7 @@ const InputField = ( { value, onChange, isRadio, isSelected } ) => {
return (
<PayPalRdb
value={ value }
handleRdbState={ onChange }
onChange={ onChange }
checked={ isSelected }
/>
);
@ -93,7 +93,7 @@ const InputField = ( { value, onChange, isRadio, isSelected } ) => {
return (
<PayPalCheckbox
value={ value }
changeCallback={ onChange }
onChange={ onChange }
checked={ isSelected }
/>
);