Skip to content

Commit 098f812

Browse files
author
Dennis Morello
committed
updated country type so the change is not breaking
1 parent a3d50c9 commit 098f812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import countryCodes from './countryCodes';
44
export type CountryCode = typeof countryCodes[number];
55

66
export interface Props extends HTMLAttributes<HTMLImageElement> {
7-
country?: CountryCode;
7+
country?: CountryCode | Omit<string, CountryCode>;
88
role?: string;
99
size?: number;
1010
alt?: string;

0 commit comments

Comments
 (0)