+ customSizeHandler( { mode: newMode } )
+ }
+ labelPosition="top"
+ />
+
+
+ { ( currentMode === 'width' || currentMode === 'both' ) && (
+ customSizeHandler( { w } ) }
+ onUnitChange={ ( wu ) => customSizeHandler( { wu } ) }
+ customUnits={ false }
+ />
+ ) }
+
+ { ( currentMode === 'height' || currentMode === 'both' ) && (
+ customSizeHandler( { h } ) }
+ onUnitChange={ ( hu ) => customSizeHandler( { hu } ) }
+ customUnits={ false }
+ />
+ ) }
+
+