aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/PrimaryButton.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/PrimaryButton.svelte
parent0d45c144b1d310cbd48410660077041577863712 (diff)
downloadcoinos-ui-617e369d283db949fce021550f17efaaf41a234f.tar.gz
coinos-ui-617e369d283db949fce021550f17efaaf41a234f.zip
create more components to DRY up code
Diffstat (limited to 'src/components/PrimaryButton.svelte')
-rw-r--r--src/components/PrimaryButton.svelte8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/PrimaryButton.svelte b/src/components/PrimaryButton.svelte
new file mode 100644
index 00000000..3caeb07d
--- /dev/null
+++ b/src/components/PrimaryButton.svelte
@@ -0,0 +1,8 @@
+<script>
+ export let title;
+ export let click;
+</script>
+
+<button class="bg-black text-white border rounded-full px-6 py-2 font-bold" on:click={click}
+ >{title}</button
+>