aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/SecondaryButton.svelte
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-07-21 11:04:30 -0600
committersecondl1ght <[email protected]>2022-07-21 11:04:30 -0600
commit617e369d283db949fce021550f17efaaf41a234f (patch)
treee34be852a2934e312a2d19fc8b28bc37cf4c8480 /src/components/SecondaryButton.svelte
parent0d45c144b1d310cbd48410660077041577863712 (diff)
downloadcoinos-ui-617e369d283db949fce021550f17efaaf41a234f.tar.gz
coinos-ui-617e369d283db949fce021550f17efaaf41a234f.zip
create more components to DRY up code
Diffstat (limited to 'src/components/SecondaryButton.svelte')
-rw-r--r--src/components/SecondaryButton.svelte6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/SecondaryButton.svelte b/src/components/SecondaryButton.svelte
new file mode 100644
index 00000000..723a7569
--- /dev/null
+++ b/src/components/SecondaryButton.svelte
@@ -0,0 +1,6 @@
+<script>
+ export let title;
+ export let click;
+</script>
+
+<button class="border rounded-full px-6 py-2 font-bold" on:click={click}>{title}</button>