File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
plugin/assets/src/block-editor/components/layout-controls Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,11 @@ export default ( {
5353 onColumnsChange ( { ...columns , ...{ [ selectedDevice ] : newColumns } } ) ;
5454 } ;
5555
56+ const VisualLabel = BaseControl . VisualLabel || 'label' ;
57+
5658 return (
5759 < BaseControl >
58- < BaseControl . VisualLabel className = "components-base-control__layout-controls-label" >
60+ < VisualLabel className = "components-base-control__layout-controls-label" >
5961 { label }
6062 < div className = "components-base-control__label-actions components-base-control__layout-controls" >
6163 { DEVICES . map ( device => (
@@ -71,7 +73,7 @@ export default ( {
7173 </ Tooltip >
7274 ) ) }
7375 </ div >
74- </ BaseControl . VisualLabel >
76+ </ VisualLabel >
7577 < RangeControl
7678 label = { __ ( 'Columns' , 'material-design' ) }
7779 value = {
You can’t perform that action at this time.
0 commit comments