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
commit4ae7855829faacfc5c29ff3284ef0d751bb2bc6c (patch)
tree0fa82b335a2b80f1078fc5f5e7074a622a050c38 /src/components/SecondaryButton.svelte
parent20d91129bc004827a15a644eddf4a861b4b35a89 (diff)
downloadcoinos-ui-4ae7855829faacfc5c29ff3284ef0d751bb2bc6c.tar.gz
coinos-ui-4ae7855829faacfc5c29ff3284ef0d751bb2bc6c.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>