From 06a129a5603c84a8d56e625b298c1dd418bf05e5 Mon Sep 17 00:00:00 2001 From: Norbert Maciaszek Date: Mon, 17 Nov 2025 20:32:06 +0100 Subject: [PATCH] feat: add ActionCard component --- .../components/molecules/ActionCard.svelte | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/lib/components/molecules/ActionCard.svelte diff --git a/src/lib/components/molecules/ActionCard.svelte b/src/lib/components/molecules/ActionCard.svelte new file mode 100644 index 0000000..225366a --- /dev/null +++ b/src/lib/components/molecules/ActionCard.svelte @@ -0,0 +1,33 @@ + + +
{ + if (e.key === 'Enter' || e.key === ' ') { + e.preventDefault(); + onClick(); + } + }} +> + + {title} + + {#if description} +

{description}

+ {/if} +