gitlab-org--gitlab-foss/app/assets/javascripts/ide/components/mr_file_icon.vue

30 lines
463 B
Vue
Raw Normal View History

2018-03-27 10:56:22 -04:00
<script>
import icon from '~/vue_shared/components/icon.vue';
import tooltip from '../../vue_shared/directives/tooltip';
export default {
components: {
icon,
},
directives: {
tooltip,
},
props: {
file: {
type: Object,
required: true,
},
},
};
</script>
<template>
<icon
name="git-merge"
v-tooltip
title="Part of merge request changes"
css-classes="ide-file-changed-icon"
:size="12"
/>
</template>