@@ -46,6 +46,7 @@ const PopupCreateContent = props => {
color: '#fdfdfd'
}
}}
+ disabled={!props.contentName || props.contentName.length === 0}
>
{props.btnValidateLabel}
</button>
@@ -42,3 +42,5 @@
display flex
justify-content flex-end
cursor pointer
+ &:disabled
+ cursor not-allowed