debian-mirror-gitlab/app/assets/javascripts/experimentation/components/gitlab_experiment.vue
2022-05-07 20:08:51 +05:30

15 lines
253 B
Vue

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