Fix formatting of components

This commit is contained in:
Marley 2023-07-13 14:19:39 -07:00
parent bf7a6dd679
commit eed4128b0f
2 changed files with 4 additions and 4 deletions

View file

@ -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 {

View file

@ -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 {