blob: a57ff10de716d5ea9ee30957aab5c4d2a5104c61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<script>
export default {
functional: true,
render(h, context) {
const { slotKeys } = context.props;
const slots = context.slots();
const children = slotKeys.map((key) => slots[key]).filter((x) => x);
return children;
},
};
</script>
|