update api-generator

This commit is contained in:
Tuğçe Küçükoğlu 2021-06-14 17:03:46 +03:00
parent 2a2c97703c
commit cb659b73ef
14 changed files with 233 additions and 31 deletions

View file

@ -4,6 +4,29 @@ const InputSwitchProps = [
type: "boolean",
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."
}
];
const InputSwitchEvents = [
{
name: "click",
description: "Callback to invoke on click."
},
{
name: "change",
description: "Callback to invoke on value change."
}
];
@ -11,6 +34,7 @@ module.exports = {
inputswitch: {
name: "InputSwitch",
description: "InputSwitch is used to select a boolean value.",
props: InputSwitchProps
props: InputSwitchProps,
events: InputSwitchEvents
}
};