mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
added prettier
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="widget-card w-full">
|
||||
<div class="widget-content dark:bg-dark-foreground bg-white">
|
||||
<div class="widget-content bg-white dark:bg-dark-foreground">
|
||||
<div class="flex items-center">
|
||||
<users-icon v-if="icon === 'users'" size="16" class="vue-feather text-theme mr-3 "/>
|
||||
<star-icon v-if="icon === 'star'" size="16" class="vue-feather text-theme mr-3 "/>
|
||||
<hard-drive-icon v-if="icon === 'hard-drive'" size="16" class="vue-feather text-theme mr-3 "/>
|
||||
<b class="font-bold text-base">
|
||||
{{ title }}
|
||||
</b>
|
||||
<users-icon v-if="icon === 'users'" size="16" class="vue-feather text-theme mr-3" />
|
||||
<star-icon v-if="icon === 'star'" size="16" class="vue-feather text-theme mr-3" />
|
||||
<hard-drive-icon v-if="icon === 'hard-drive'" size="16" class="vue-feather text-theme mr-3" />
|
||||
<b class="text-base font-bold">
|
||||
{{ title }}
|
||||
</b>
|
||||
</div>
|
||||
<slot></slot>
|
||||
</div>
|
||||
@@ -15,16 +15,16 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { UsersIcon, StarIcon, HardDriveIcon, ChevronRightIcon } from 'vue-feather-icons'
|
||||
import { UsersIcon, StarIcon, HardDriveIcon, ChevronRightIcon } from 'vue-feather-icons'
|
||||
|
||||
export default {
|
||||
name: 'WidgetWrapper',
|
||||
props: ['icon', 'title'],
|
||||
components: {
|
||||
ChevronRightIcon,
|
||||
HardDriveIcon,
|
||||
StarIcon,
|
||||
UsersIcon
|
||||
}
|
||||
}
|
||||
export default {
|
||||
name: 'WidgetWrapper',
|
||||
props: ['icon', 'title'],
|
||||
components: {
|
||||
ChevronRightIcon,
|
||||
HardDriveIcon,
|
||||
StarIcon,
|
||||
UsersIcon,
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user