debian-mirror-gitlab/app/assets/javascripts/experimentation/components/gitlab_experiment.vue
2021-06-08 01:23:25 +05:30

15 lines
243 B
Vue

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