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.
22 lines
404 B
22 lines
404 B
<script lang="ts">
|
|
import type { EmbeddedFile } from "../main";
|
|
|
|
export let files: EmbeddedFile[];
|
|
|
|
let contents = files.map((e) => (e.data as Buffer).toString());
|
|
</script>
|
|
|
|
{#each contents as content}
|
|
<div class="additionnal">
|
|
{content}
|
|
</div>
|
|
{/each}
|
|
|
|
<style scoped>
|
|
.additionnal {
|
|
border-top: 2px dashed;
|
|
clear: both;
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
}
|
|
</style>
|
|
|