From 519e9d70bf8e5b6591978b85cbfd4e94e3b1545f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 14 Jul 2021 17:12:17 +0300 Subject: [PATCH] refactor --- api-generator/components/autocomplete.js | 2 +- api-generator/components/calendar.js | 2 +- api-generator/components/fileupload.js | 4 ++-- api-generator/components/tabmenu.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api-generator/components/autocomplete.js b/api-generator/components/autocomplete.js index ba62f2623..4c631b4c2 100644 --- a/api-generator/components/autocomplete.js +++ b/api-generator/components/autocomplete.js @@ -62,7 +62,7 @@ const AutoCompleteProps = [ { name: "completeOnFocus", type: "boolean", - default: false, + default: "false", description: "Whether to run a query when input receives focus." }, { diff --git a/api-generator/components/calendar.js b/api-generator/components/calendar.js index 6db235810..509913fd1 100644 --- a/api-generator/components/calendar.js +++ b/api-generator/components/calendar.js @@ -244,7 +244,7 @@ const CalendarProps = [ name: "style", type: "any", default: "null", - description: "Inline of the component." + description: "Inline style of the component." } ]; diff --git a/api-generator/components/fileupload.js b/api-generator/components/fileupload.js index 3160d49f0..9c20d969b 100644 --- a/api-generator/components/fileupload.js +++ b/api-generator/components/fileupload.js @@ -232,12 +232,12 @@ const FileUploadEvents = [ description: "Callback to invoke when a singe file is removed from the list.", arguments: [ { - file: "event.file", + name: "event.file", type: "object", description: "Removed file." }, { - file: "event.files", + name: "event.files", type: "object", description: "Remaining files to be uploaded." } diff --git a/api-generator/components/tabmenu.js b/api-generator/components/tabmenu.js index dbe2ad7f5..8ac64f24a 100644 --- a/api-generator/components/tabmenu.js +++ b/api-generator/components/tabmenu.js @@ -8,7 +8,7 @@ const TabMenuProps = [ { name: "exact", type: "boolean", - default: true, + default: "true", description: "Defines if active route highlight should match the exact route path." } ];