Fixed #1470 - Add trueValue-falseValue to InputSwitch

This commit is contained in:
Cagatay Civici 2021-08-25 09:53:23 +03:00
parent 3a854247be
commit 53a69ebd72
4 changed files with 42 additions and 4 deletions

View file

@ -16,6 +16,18 @@ const InputSwitchProps = [
type: "any",
default: "null",
description: "Inline of the component."
},
{
name: "trueValue",
type: "any",
default: "true",
description: "Value in checked state."
},
{
name: "falseValue",
type: "any",
default: "true",
description: "Value in unchecked state."
}
];