2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-08 21:02:25 +03:00
Files
vue-form-wizard/src/components/TabContent.vue
T
cristijora 25b2c548a6 Remove tab content padding
Build files
2017-04-16 13:31:16 +03:00

31 lines
453 B
Vue

<template>
<div v-if="show" class="tab-container">
<slot>
</slot>
</div>
</template>
<script>
export default{
name: 'tab-content',
props: {
title: {
type: String,
default: ''
},
icon: {
type: String,
default: ''
},
beforeChange: {
type: Function
}
},
data () {
return {
show: false,
active: false
}
}
}
</script>