From 5c400ad4946e7afef61651601ed64df468309a91 Mon Sep 17 00:00:00 2001 From: moshiur01 Date: Fri, 20 Dec 2024 20:29:54 +0600 Subject: [PATCH] Updated: Checkbox component and its default variant code. --- .../docs/components/checkbox/CheckboxApi.vue | 6 +++--- .../components/checkbox/DefaultCheckbox.vue | 14 ++------------ .../docs/components/checkbox/checkboxCode.ts | 19 +++++-------------- src/components/Checkbox/Checkbox.vue | 17 +++++++---------- 4 files changed, 17 insertions(+), 39 deletions(-) diff --git a/components/content/docs/components/checkbox/CheckboxApi.vue b/components/content/docs/components/checkbox/CheckboxApi.vue index c6e7fc1a..21dcc616 100644 --- a/components/content/docs/components/checkbox/CheckboxApi.vue +++ b/components/content/docs/components/checkbox/CheckboxApi.vue @@ -11,9 +11,9 @@ const CheckBoxApiData = [ }, { id: 3, - propsName: "checked", - propsType: "v-model", - propsDescription: "Checked state of the checkbox", + propsName: "default-checked", + propsType: "boolean", + propsDescription: "Default Checked state of the checkbox", }, ]; diff --git a/components/content/docs/components/checkbox/DefaultCheckbox.vue b/components/content/docs/components/checkbox/DefaultCheckbox.vue index ea6ecae4..61065e5e 100644 --- a/components/content/docs/components/checkbox/DefaultCheckbox.vue +++ b/components/content/docs/components/checkbox/DefaultCheckbox.vue @@ -1,11 +1,7 @@