1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-29 06:49:55 +00:00
bramw_baserow/web-frontend/modules/core/components/HelpIcon.vue
Alexander Haller aa70d78614 RBAC Help Icons
2022-12-29 13:59:10 +00:00

26 lines
467 B
Vue

<template>
<i v-tooltip="tooltip" class="help-icon fas" :class="iconClass"> </i>
</template>
<script>
export default {
name: 'HelpIcon',
props: {
tooltip: {
type: String,
required: false,
default: null,
},
isWarning: {
type: Boolean,
required: false,
default: false,
},
},
computed: {
iconClass() {
return this.isWarning ? 'fa-exclamation-circle' : 'fa-question-circle'
},
},
}
</script>