mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 15:01:46 +01:00
chore(FormGroup): add labelWrapper
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div :class="wrapperClass">
|
||||
<slot name="label">
|
||||
<div class="flex content-center justify-between">
|
||||
<div :class="labelWrapperClass">
|
||||
<label
|
||||
v-if="label"
|
||||
:for="name"
|
||||
@@ -69,6 +69,10 @@ export default {
|
||||
type: String,
|
||||
default: () => $ui.formGroup.label
|
||||
},
|
||||
labelWrapperClass: {
|
||||
type: String,
|
||||
default: () => $ui.formGroup.labelWrapper
|
||||
},
|
||||
descriptionClass: {
|
||||
type: String,
|
||||
default: () => $ui.formGroup.description
|
||||
|
||||
Reference in New Issue
Block a user