Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2021-07-22 10:50:19 +01:00 committed by GitHub
parent c7a57888f1
commit 27a4f213cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5034,7 +5034,7 @@ module.exports = (_ => {
style = Object.assign({}, style);
this.props.color = typeof this.props.getColor == "function" ? this.props.getColor(this.props.value) : this.props.color;
style.borderColor = this.props.color;
switch (this.props.type && InternalComponents.NativeSubComponents.Checkbox.Types) {
if (InternalComponents.NativeSubComponents.Checkbox.Types) switch (this.props.type) {
case InternalComponents.NativeSubComponents.Checkbox.Types.DEFAULT:
style.borderColor = this.props.color;
break;