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.
21 lines
354 B
21 lines
354 B
<script>
|
|
export default {
|
|
name: "asd",
|
|
props: {
|
|
value: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
contextKey: {
|
|
type: String,
|
|
required: true,
|
|
}
|
|
},
|
|
setup(props) {
|
|
const slots = useSlots()
|
|
provide(props.contextKey, props.value)
|
|
const FN : () => VNode = () => renderSlot(slots, 'default')
|
|
return FN
|
|
}
|
|
}
|
|
</script>
|
|
|