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']) 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 {

View file

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