Skip to content
This repository has been archived by the owner on May 2, 2021. It is now read-only.

Commit

Permalink
fix(typings): add newly required generic parameter
Browse files Browse the repository at this point in the history
React.SVGProps now requires a generic parameter, so it is now provided
  • Loading branch information
Dan Homola committed Aug 1, 2017
1 parent 361c1c4 commit def5942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ interface QRCodeProps {
/**
* The component
*/
export function QRCode(props: QRCodeProps & React.SVGProps): React.ReactElement<{}>;
export function QRCode(props: QRCodeProps & React.SVGProps<SVGElement>): React.ReactElement<{}>;

0 comments on commit def5942

Please sign in to comment.