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.

34 lines
647 B

  1. <script lang="ts">
  2. import type { IconName } from "../external/icons";
  3. import ParentEntry from "./ParentEntry.svelte";
  4. export let name = "";
  5. export let description = "";
  6. export let headerLink = "";
  7. export let hideIcon: boolean = false;
  8. export let icon: IconName = "anchor";
  9. let entry;
  10. $: {
  11. entry = {
  12. id: "__empty",
  13. name: name,
  14. description: description,
  15. icon: icon,
  16. };
  17. }
  18. </script>
  19. <ParentEntry
  20. entry={entry}
  21. full={false}
  22. headerLink={headerLink}
  23. hideProgress={true}
  24. hideIcon={hideIcon}
  25. showTimeProgress={true}
  26. annotations={[]}
  27. removeHook={true}
  28. >
  29. <slot></slot>
  30. </ParentEntry>