You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
348 B
26 lines
348 B
<template>
|
|
<view>
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
contextKey: {
|
|
type: String,
|
|
required: true,
|
|
}
|
|
},
|
|
setup(props) {
|
|
const slots = useSlots()
|
|
const data = inject(props.contextKey)
|
|
const FN : () => VNode = () => renderSlot(slots, 'default', data)
|
|
return FN
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|