Profectus/src/components/system/LayerProvider.vue

21 lines
258 B
Vue
Raw Normal View History

2021-05-26 01:57:02 +00:00
<template>
<span><slot /></span>
</template>
<script>
export default {
name: 'LayerProvider',
props: {
layer: String,
index: Number
},
provide() {
const { layer, index } = this;
return { layer, index };
}
};
</script>
<style scoped>
</style>