Profectus/src/components/system/LayerProvider.vue

27 lines
329 B
Vue
Raw Normal View History

2021-05-26 01:57:02 +00:00
<template>
2021-06-12 04:38:16 +00:00
<div v-frag>
<slot />
2021-06-12 04:38:16 +00:00
</div>
2021-05-26 01:57:02 +00:00
</template>
<script>
2021-06-12 04:38:16 +00:00
import { ReactiveProvideMixin } from 'vue-reactive-provide';
2021-05-26 01:57:02 +00:00
export default {
name: 'LayerProvider',
2021-06-12 04:38:16 +00:00
mixins: [
ReactiveProvideMixin({
name: 'tab',
props: true
})
],
2021-05-26 01:57:02 +00:00
props: {
layer: String,
index: Number
}
};
</script>
<style scoped>
</style>