Passing components from React into Vue component named slot
mwsiddeeq15 opened this issue · 1 comments
mwsiddeeq15 commented
I'm trying to pass a React component into a Vue component's named slot, but I only see a way to pass into a default slot. Is there a way to specify which slot to pass it into?
just-boris commented
Currently wrappers map only default
slot into children
prop in React. Named slots are currently ignored.
The starting point for implementation is around these lines:
Lines 15 to 17 in 631537d
this.$slots
(and maybe this.$scopedSlots
) should be passed down the same way as the $attrs
currently do. Then react-wrapper
should pick them up and convert to React as it currently does for children. Seems doable.