Commit f8c20dc0 authored by Marcia Ramos's avatar Marcia Ramos

Migrate tooltip to GlTooltipDirective

parent 670cd271
<script> <script>
import { GlIcon } from '@gitlab/ui'; import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
import tooltip from '~/vue_shared/directives/tooltip';
export default { export default {
components: { components: {
GlIcon, GlIcon,
}, },
directives: { directives: {
tooltip, GlTooltip: GlTooltipDirective,
}, },
}; };
</script> </script>
<template> <template>
<gl-icon <gl-icon
v-tooltip v-gl-tooltip
:title="__('Part of merge request changes')" :title="__('Part of merge request changes')"
:size="12" :size="12"
name="git-merge" name="git-merge"
......
---
title: Migrate tooltip in app/assets/javascripts/vue_merge_request_widget/components/mr_file_icon.vue
merge_request: 46156
author: 46156
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment