Skip to content

Commit

Permalink
Merge pull request #129 from is-a-dev/vaibhav-button-patch
Browse files Browse the repository at this point in the history
fix: make props mutable in Button component
  • Loading branch information
VaibhavSys committed Jan 15, 2024
2 parents d3e9b3b + 3c82b9f commit 6f1fdb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/Button.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
export const style = "";
export const className = "";
export const href = "";
export let style = "";
export let className = "";
export let href = "";
</script>

<a class="btn btn-{style} btn-lg btn-block gap-2 bg-[#1e1e1e] shadow-sm transition-all ease-linear duration-300 {className}" href={href}>
Expand Down

0 comments on commit 6f1fdb1

Please sign in to comment.