Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ordered_layout.vue « components « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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>