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.
17 lines
308 B
17 lines
308 B
<template></template>
|
|
|
|
<script>
|
|
export default {
|
|
props: ["value", "contextKey"],
|
|
setup(props, context) {
|
|
const slots = useSlots()
|
|
provide(props.contextKey, props.value)
|
|
const FN : () => VNode = () => renderSlot(slots, 'default')
|
|
return () : VNode => h(FN)
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|