<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>
