🩹 Resolve component deprecation warnings

This commit is contained in:
Philipp Stracker 2025-01-27 13:41:52 +01:00
parent b907eeebe6
commit a9e2f600ab
No known key found for this signature in database
3 changed files with 3 additions and 0 deletions

View file

@ -10,6 +10,7 @@ const ControlTextInput = ( {
} ) => (
<Action>
<TextControl
__nextHasNoMarginBottom={ true }
className="ppcp-r-vertical-text-control"
placeholder={ placeholder }
value={ value }

View file

@ -24,6 +24,7 @@ const Checkbox = ( {
return (
<CheckboxControl
__nextHasNoMarginBottom={ true }
label={ label }
value={ value }
checked={ checked }

View file

@ -66,6 +66,7 @@ const Modal = ( { method, setModalIsVisible, onSave } ) => {
return (
<div className="ppcp-r-modal__field-row">
<TextControl
__nextHasNoMarginBottom={ true }
className="ppcp-r-vertical-text-control"
label={ field.label }
value={ settings[ key ] }