Height.js
2 years ago
MaxHeight.js
2 years ago
MaxWidth.js
2 years ago
MinHeight.js
2 years ago
MinWidth.js
2 years ago
SizingCSS.js
2 years ago
Width.js
2 years ago
MaxWidth.js
27 lines
| 1 | import UnitControl from '../../../../../components/unit-control'; |
| 2 | |
| 3 | export default function MaxWidth( { |
| 4 | value, |
| 5 | onChange, |
| 6 | disabled, |
| 7 | overrideValue, |
| 8 | overrideAction, |
| 9 | placeholder, |
| 10 | label, |
| 11 | } ) { |
| 12 | return ( |
| 13 | <> |
| 14 | <UnitControl |
| 15 | label={ label } |
| 16 | id="gblocks-max-width" |
| 17 | overrideValue={ overrideValue } |
| 18 | disabled={ disabled } |
| 19 | value={ value } |
| 20 | placeholder={ placeholder } |
| 21 | onChange={ onChange } |
| 22 | overrideAction={ overrideAction } |
| 23 | /> |
| 24 | </> |
| 25 | ); |
| 26 | } |
| 27 |