chore: install prettier
This commit is contained in:
@@ -4,8 +4,8 @@ const props = defineProps({
|
||||
value: String,
|
||||
unit: String,
|
||||
icon: String,
|
||||
color: String
|
||||
})
|
||||
color: String,
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
<div class="cell">
|
||||
@@ -15,7 +15,12 @@ const props = defineProps({
|
||||
<p class="fs-14 has-text-grey">{{ name }}</p>
|
||||
<p class="fs-22 font-bold">{{ value }}</p>
|
||||
</div>
|
||||
<div :class="['p-3 rounded-lg is-flex is-justify-content-center is-align-items-center', `has-background-${color}-soft`]">
|
||||
<div
|
||||
:class="[
|
||||
'p-3 rounded-lg is-flex is-justify-content-center is-align-items-center',
|
||||
`has-background-${color}-soft`,
|
||||
]"
|
||||
>
|
||||
<Icon
|
||||
:name="icon"
|
||||
:class="`has-text-${color}-40`"
|
||||
|
||||
Reference in New Issue
Block a user