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'])
|
defineEmits(['update:modelValue'])
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!----------------------------------------------------------------------------------- TEMPLATE ---->
|
<!--------------------------------------------------------------- TEMPLATE ---->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
@ -21,7 +21,7 @@ defineEmits(['update:modelValue'])
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-------------------------------------------------------------------------------------- STYLE ---->
|
<!------------------------------------------------------------------ STYLE ---->
|
||||||
|
|
||||||
<style scoped lang="postcss">
|
<style scoped lang="postcss">
|
||||||
div {
|
div {
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
defineProps<{type?: string}>()
|
defineProps<{type?: string}>()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!----------------------------------------------------------------------------------- TEMPLATE ---->
|
<!--------------------------------------------------------------- TEMPLATE ---->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<button :type="type ?? 'button'"><slot /></button>
|
<button :type="type ?? 'button'"><slot /></button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-------------------------------------------------------------------------------------- STYLE ---->
|
<!------------------------------------------------------------------ STYLE ---->
|
||||||
|
|
||||||
<style scoped lang="postcss">
|
<style scoped lang="postcss">
|
||||||
button {
|
button {
|
||||||
|
|
Loading…
Reference in a new issue