CommonFilePreview.story.vue 356 B

1234567891011121314151617
  1. <!-- Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/ -->
  2. <script setup lang="ts">
  3. import CommonFilePreview from './CommonFilePreview.vue'
  4. const file = {
  5. name: 'test file.txt',
  6. type: 'text/plain',
  7. size: 12343,
  8. }
  9. </script>
  10. <template>
  11. <Story>
  12. <CommonFilePreview :file="file" download-url="/" />
  13. </Story>
  14. </template>