mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-22 17:32:14 +00:00
vue components refactoring
This commit is contained in:
20
resources/js/components/Icons/FolderIcon.vue
Normal file
20
resources/js/components/Icons/FolderIcon.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div>
|
||||
<VueFolderIcon v-if="!item.data.attributes.isTeamFolder" />
|
||||
<VueFolderTeamIcon v-if="item.data.attributes.isTeamFolder" style="width: 53px; height: 52px" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import VueFolderTeamIcon from './VueFolderTeamIcon'
|
||||
import VueFolderIcon from './VueFolderIcon'
|
||||
|
||||
export default {
|
||||
name: 'FolderIcon',
|
||||
props: ['item'],
|
||||
components: {
|
||||
VueFolderTeamIcon,
|
||||
VueFolderIcon,
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user