chore: update components

This commit is contained in:
Benjamin Canac
2021-11-19 15:13:21 +01:00
parent 4fc464fdb9
commit d302ae5840
6 changed files with 15 additions and 8 deletions

View File

@@ -13,14 +13,16 @@
@focus="focused = true"
@blur="focused = false"
@change="onChange"
/>
>
</div>
<div v-if="label" class="ml-3 text-sm">
<label :for="name" class="font-medium text-tw-gray-700">
{{ label }}
<span v-if="required" class="text-red-400">*</span>
</label>
<p v-if="help" class="text-tw-gray-500">{{ help }}</p>
<p v-if="help" class="text-tw-gray-500">
{{ help }}
</p>
</div>
</div>
</template>