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

gitlab_experiment.vue « components « experimentation « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 294dbf779911dc66ce9670b9a2d4ad1daaf45591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script>
import { getExperimentVariant } from '../utils';

export default {
  props: {
    name: {
      type: String,
      required: true,
    },
  },
  render() {
    return this.$slots?.[getExperimentVariant(this.name)];
  },
};
</script>