Skip to content

Commit

Permalink
fix(types): allow anything in linkProps
Browse files Browse the repository at this point in the history
fixes #5249
  • Loading branch information
jquense committed Jul 8, 2020
1 parent d5f39e7 commit 4bd37b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BreadcrumbItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface BreadcrumbItemProps extends BsPrefixPropsWithChildren {
linkAs?: React.ElementType;
target?: string;
title?: React.ReactNode;
linkProps?: React.LinkHTMLAttributes<HTMLLinkElement>;
linkProps?: Record<string, any>; // the generic is to much work here
}

type BreadcrumbItem = BsPrefixRefForwardingComponent<'li', BreadcrumbItemProps>;
Expand Down

0 comments on commit 4bd37b7

Please sign in to comment.