22 lines
319 B
Vue
22 lines
319 B
Vue
|
<script>
|
||
|
import { GlDropdownItem } from '@gitlab/ui';
|
||
|
|
||
|
export default {
|
||
|
components: {
|
||
|
GlDropdownItem,
|
||
|
},
|
||
|
props: {
|
||
|
path: {
|
||
|
type: String,
|
||
|
required: true,
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<gl-dropdown-item :href="path" data-method="put">
|
||
|
<slot></slot>
|
||
|
</gl-dropdown-item>
|
||
|
</template>
|