diff --git a/.changeset/pretty-buttons-approve.md b/.changeset/pretty-buttons-approve.md new file mode 100644 index 0000000..6ab8176 --- /dev/null +++ b/.changeset/pretty-buttons-approve.md @@ -0,0 +1,5 @@ +--- +"formidable-oss-badges": patch +--- + +Fixes name prop type on FeaturedBage component diff --git a/src/FeaturedBadge.tsx b/src/FeaturedBadge.tsx index aef2c6f..3cd955d 100644 --- a/src/FeaturedBadge.tsx +++ b/src/FeaturedBadge.tsx @@ -4,7 +4,7 @@ import * as featuredLogos from "./assets/featuredLogos" import styles from "./styles.module.css" type Props = SVGProps & { - name: keyof typeof featuredLogos.default + name: Exclude className?: string isHoverable?: boolean style?: CSSProperties