Fix formatting of components
This commit is contained in:
parent
bf7a6dd679
commit
eed4128b0f
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ defineProps<{label?: string, name:string, type?: string, modelValue: any}>()
|
|||
defineEmits(['update:modelValue'])
|
||||
</script>
|
||||
|
||||
<!----------------------------------------------------------------------------------- TEMPLATE ---->
|
||||
<!--------------------------------------------------------------- TEMPLATE ---->
|
||||
|
||||
<template>
|
||||
<div>
|
||||
|
@ -21,7 +21,7 @@ defineEmits(['update:modelValue'])
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<!-------------------------------------------------------------------------------------- STYLE ---->
|
||||
<!------------------------------------------------------------------ STYLE ---->
|
||||
|
||||
<style scoped lang="postcss">
|
||||
div {
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
defineProps<{type?: string}>()
|
||||
</script>
|
||||
|
||||
<!----------------------------------------------------------------------------------- TEMPLATE ---->
|
||||
<!--------------------------------------------------------------- TEMPLATE ---->
|
||||
|
||||
<template>
|
||||
<button :type="type ?? 'button'"><slot /></button>
|
||||
</template>
|
||||
|
||||
<!-------------------------------------------------------------------------------------- STYLE ---->
|
||||
<!------------------------------------------------------------------ STYLE ---->
|
||||
|
||||
<style scoped lang="postcss">
|
||||
button {
|
||||
|
|
Loading…
Reference in a new issue