mirror of
https://git.coom.tech/fuckjannies/lolipiss.git
synced 2024-06-26 12:42:38 +00:00
23 lines
404 B
Svelte
23 lines
404 B
Svelte
![]() |
<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>
|