diff --git a/lib/KCheckbox.vue b/lib/KCheckbox.vue index fc427e49b..56243df7a 100644 --- a/lib/KCheckbox.vue +++ b/lib/KCheckbox.vue @@ -44,15 +44,18 @@
- +
+ {{ description }} +
+ @@ -112,6 +118,14 @@ type: Boolean, default: false, }, + /** + * Description - subtext to the label + */ + description: { + type: String, + default: null, + required: false, + }, }, data: () => ({ isCurrentlyChecked: false, @@ -241,4 +255,9 @@ height: $checkbox-height; } + .description { + font-size: 12px; + line-height: normal; + } +