Refactor #2801 - InputSwitch

This commit is contained in:
Tuğçe Küçükoğlu 2022-07-22 22:08:02 +03:00
parent 45ef9b3c8e
commit 262187d843
4 changed files with 56 additions and 34 deletions

View file

@ -5,18 +5,6 @@ const InputSwitchProps = [
default: "null",
description: "Specifies whether a inputswitch should be checked or not."
},
{
name: "class",
type: "string",
default: "null",
description: "Style class of the component."
},
{
name: "style",
type: "any",
default: "null",
description: "Inline of the component."
},
{
name: "trueValue",
type: "any",
@ -28,7 +16,25 @@ const InputSwitchProps = [
type: "any",
default: "null",
description: "Value in unchecked state."
}
},
{
name: "inputId",
type: "string",
default: "null",
description: "Identifier of the underlying input element."
},
{
name: "inputStyle",
type: "any",
default: "null",
description: "Inline style of the input field."
},
{
name: "inputClass",
type: "string",
default: "null",
description: "Style class of the input field."
},
];
const InputSwitchEvents = [