Skip to content

Commit

Permalink
fix: add default values to Badge component props
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Jun 25, 2024
1 parent dbd9b33 commit 2bb23fd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-zoos-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'flowbite-svelte': patch
---

fix: add default values to Badge component props
5 changes: 5 additions & 0 deletions .changeset/proud-brooms-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'flowbite-svelte': patch
---

fix: Badge component update
6 changes: 3 additions & 3 deletions src/lib/badge/Badge.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
export let color: ColorVariant = 'primary'
export let large: boolean = false
export let dismissable: boolean = false
export let border: boolean
export let href: string
export let rounded: boolean
export let border: boolean = false
export let href: string = ''
export let rounded: boolean = false
export let transition = fade
export let params = {}
Expand Down

0 comments on commit 2bb23fd

Please sign in to comment.