mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
🩹 Fix React deprecation warnings
This commit is contained in:
parent
dc6c8e2316
commit
d547a3b218
4 changed files with 5 additions and 3 deletions
|
@ -5,7 +5,7 @@ const ControlToggleButton = ( { label, description, value, onChange } ) => (
|
|||
<Action>
|
||||
<ToggleControl
|
||||
className="ppcp--control-toggle"
|
||||
__nextHasNoMarginBottom={ true }
|
||||
__nextHasNoMarginBottom
|
||||
checked={ value }
|
||||
onChange={ onChange }
|
||||
label={ label }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue