blob: 0cfc127390918c3ba1a610705e39b8f1c9658459 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
<script lang="ts">
export let time: number | undefined = undefined;
export let count: number | string = '...';
export let anime = false;
export let custom = '';
</script>
<summary>
{custom.length !== 0 ? custom : anime ? 'Anime' : 'Manga & Light Novels'} [{count}]
<small style="opacity: 50%">{time ? time.toFixed(3) : '...'}s</small>
<slot />
</summary>
|