1<template>
2  <b-button
3    v-b-tooltip
4    variant="link"
5    class="btn-tooltip btn-icon-only"
6    :title="title"
7    :aria-label="$t('global.ariaLabel.tooltip')"
8  >
9    <icon-tooltip />
10  </b-button>
11</template>
12
13<script>
14import IconTooltip from '@carbon/icons-vue/es/information/16';
15
16export default {
17  components: { IconTooltip },
18  props: {
19    title: {
20      type: String,
21      default: '',
22    },
23  },
24};
25</script>
26
27<style lang="scss" scoped>
28.btn-tooltip {
29  padding: 0;
30  line-height: 1em;
31  svg {
32    vertical-align: baseline;
33  }
34}
35</style>
36