Skip to content

Commit bb641d0

Browse files
authored
fix: FeaturedBadge name prop type (#102)
* fix FeaturedBadge name prop type * add changesets
1 parent 4aaae66 commit bb641d0

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"formidable-oss-badges": patch
3+
---
4+
5+
Fixes name prop type on FeaturedBage component

src/FeaturedBadge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as featuredLogos from "./assets/featuredLogos"
44
import styles from "./styles.module.css"
55

66
type Props = SVGProps<SVGElement> & {
7-
name: keyof typeof featuredLogos.default
7+
name: Exclude<keyof typeof featuredLogos.default, `${string}Simple`>
88
className?: string
99
isHoverable?: boolean
1010
style?: CSSProperties

0 commit comments

Comments
 (0)