LogActionTitle.vue 472 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <span class="log-action-title">
  3. <slot>{{ actionTitle }}</slot>
  4. <span
  5. v-if="justification"
  6. class="log-justification"
  7. >— {{ justification }}</span>
  8. </span>
  9. </template>
  10. <script setup>
  11. defineProps({
  12. actionTitle: {
  13. type: String,
  14. default: ''
  15. },
  16. justification: {
  17. type: String,
  18. default: ''
  19. }
  20. })
  21. </script>
  22. <style scoped>
  23. .log-justification {
  24. font-size: 0.875rem;
  25. color: #888;
  26. font-weight: normal;
  27. }
  28. </style>