mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 09:58:27 +00:00
25 lines
642 B
Svelte
25 lines
642 B
Svelte
<!-- Workaround for https://github.com/pngwn/MDsveX/issues/116 -->
|
|
<script lang="ts" module>
|
|
import a from "$components/misc/OuterLink.svelte";
|
|
export { a };
|
|
</script>
|
|
|
|
<script lang="ts">
|
|
import ChangelogEntry from "$components/changelog/ChangelogEntry.svelte";
|
|
import type { Snippet } from "svelte";
|
|
|
|
type Props = {
|
|
version: string;
|
|
title: string;
|
|
date: string;
|
|
banner?: any;
|
|
children: Snippet;
|
|
}
|
|
|
|
const { version, title, date, banner, children }: Props = $props();
|
|
</script>
|
|
|
|
<ChangelogEntry {version} {title} {date} {banner}>
|
|
{@render children?.()}
|
|
</ChangelogEntry>
|