{/each}
@@ -339,7 +341,7 @@
onclick={() => (index -= 1)}
transition:fly={{ x: -200, duration: 200 }}
>
- arrow_back
+
Back
{/if}
diff --git a/src/lib/util.ts b/src/lib/util.ts
index 6a0f124..0f14a6d 100644
--- a/src/lib/util.ts
+++ b/src/lib/util.ts
@@ -1,3 +1,22 @@
+import type { IconComponentProps } from 'phosphor-svelte';
+import type { Component } from 'svelte';
+
+/**
+ * IconDef is an object that represents an icon element from the phosphor library, alongside an optional set of typed properties.
+ */
+export type IconDef = {
+ component: Component;
+ props?: IconComponentProps;
+};
+
+/**
+ * Defines a set of default properties for icons used in the application.
+ */
+export const defaultIconProps: IconComponentProps = {
+ size: '1.2rem',
+ weight: 'bold'
+};
+
/**
* MaybeGetter is a type that can either be a value of type T or a function that returns a value of type T.
* This is useful for cases where you might want to pass a value directly or a function that computes the
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 6d39b2b..e41a62a 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -21,6 +21,7 @@
import {
ArrowUUpLeft,
ArrowUUpRight,
+ Plus,
TextB,
TextItalic,
TextStrikethrough,
@@ -51,12 +52,14 @@