Add disabled states for form control components

[MAILPOET-2773]
This commit is contained in:
Ján Mikláš
2020-05-22 11:47:07 +02:00
committed by Veljko V
parent 61dd1c61de
commit 7517baeea8
11 changed files with 15 additions and 8 deletions

View File

@@ -16,6 +16,7 @@ const Toggle = ({
classnames({
'mailpoet-form-toggle': true,
[`mailpoet-form-toggle-${dimension}`]: dimension,
'mailpoet-disabled': attributes.disabled,
})
}
>