mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-17 15:52:15 +00:00
23 lines
324 B
Vue
23 lines
324 B
Vue
<template>
|
|
<div v-if="isActive">
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
name: "TabOption",
|
|
props: ['title', 'icon', 'selected'],
|
|
data () {
|
|
return {
|
|
isActive: false
|
|
}
|
|
},
|
|
mounted() {
|
|
this.isActive = this.selected
|
|
}
|
|
}
|
|
</script>
|
|
|