LogActionTitle.vue 455 B

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