You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AppTip.vue 387B

1234567891011121314151617181920212223242526
  1. <template>
  2. <span v-tooltip="tooltip" class="tip">
  3. <font-awesome-icon :icon="icon" />
  4. </span>
  5. </template>
  6. <script>
  7. export default {
  8. props: {
  9. icon: {
  10. type: [String, Object],
  11. default: 'question-circle',
  12. },
  13. tooltip: {
  14. type: [String, Object],
  15. required: true,
  16. },
  17. },
  18. }
  19. </script>
  20. <style lang="scss" scoped>
  21. .tip {
  22. cursor: help;
  23. }
  24. </style>