rename all components to new namespace (#1515)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
Liyas Thomas
2021-03-01 09:28:14 +05:30
committed by GitHub
parent 37bdd525ea
commit dc5ca76d05
86 changed files with 2761 additions and 3077 deletions

35
components/smart/Tab.vue Normal file
View File

@@ -0,0 +1,35 @@
<template>
<div v-show="isActive">
<slot></slot>
</div>
</template>
<script>
export default {
props: {
label: { type: String, default: "" },
icon: { type: String, default: "" },
id: { required: true },
selected: {
type: Boolean,
default: false,
},
},
data() {
return {
isActive: false,
}
},
// computed: {
// href() {
// return `#${this.label.toLowerCase().replace(/ /g, "-")}`
// },
// },
mounted() {
this.isActive = this.selected
},
}
</script>