| @@ -80,10 +80,10 @@ | ||
| 80 | 80 | value={ attributes[ field.name ] } |
| 81 | 81 | min={ field.min } |
| 82 | 82 | max={ field.max } |
| 83 | 83 | onChange={ onChange( field.name ) } |
| 84 | - __nextHasNoMarginBottom={ true } | |
| 85 | - __next40pxDefaultSize={ true } | |
| 84 | + __nextHasNoMarginBottom | |
| 85 | + __next40pxDefaultSize | |
| 86 | 86 | /> |
| 87 | 87 | </PanelRow> |
| 88 | 88 | case 'textarea': |
| 89 | 89 | return <PanelRow key={ index }> |
| @@ -92,9 +92,9 @@ | ||
| 92 | 92 | help={ description } |
| 93 | 93 | placeholder={ placeholder } |
| 94 | 94 | value={ attributes[ field.name ] } |
| 95 | 95 | onChange={ onChange( field.name ) } |
| 96 | - __nextHasNoMarginBottom={ true } | |
| 96 | + __nextHasNoMarginBottom | |
| 97 | 97 | /> |
| 98 | 98 | </PanelRow> |
| 99 | 99 | case 'select': |
| 100 | 100 | case 'radio': |
| @@ -113,10 +113,10 @@ | ||
| 113 | 113 | help={ description } |
| 114 | 114 | options={ options } |
| 115 | 115 | value={ attributes[ field.name ] } |
| 116 | 116 | onChange={ onChange( field.name ) } |
| 117 | - __nextHasNoMarginBottom={ true } | |
| 118 | - __next40pxDefaultSize={ true } | |
| 117 | + __nextHasNoMarginBottom | |
| 118 | + __next40pxDefaultSize | |
| 119 | 119 | /> |
| 120 | 120 | </PanelRow> |
| 121 | 121 | case 'checkbox': |
| 122 | 122 | return <PanelRow key={ index }> |
| @@ -124,9 +124,9 @@ | ||
| 124 | 124 | label={ field.label } |
| 125 | 125 | help={ description } |
| 126 | 126 | checked={ attributes[ field.name ] } |
| 127 | 127 | onChange={ toggleAttribute( field.name ) } |
| 128 | - __nextHasNoMarginBottom={ true } | |
| 128 | + __nextHasNoMarginBottom | |
| 129 | 129 | /> |
| 130 | 130 | </PanelRow> |
| 131 | 131 | case 'color': |
| 132 | 132 | return <PanelRow key={ index }> |
| @@ -149,10 +149,10 @@ | ||
| 149 | 149 | help={ description } |
| 150 | 150 | placeholder={ placeholder } |
| 151 | 151 | value={ attributes[ field.name ] } |
| 152 | 152 | onChange={ onChange( field.name ) } |
| 153 | - __nextHasNoMarginBottom={ true } | |
| 154 | - __next40pxDefaultSize={ true } | |
| 153 | + __nextHasNoMarginBottom | |
| 154 | + __next40pxDefaultSize | |
| 155 | 155 | /> |
| 156 | 156 | </PanelRow> |
| 157 | 157 | } |
| 158 | 158 | } |