Skip to content

Commit

Permalink
export withBaseIcon in typesript (#75)
Browse files Browse the repository at this point in the history
withBaseIcon cannot be import in TS, need export
  • Loading branch information
kamikazebr authored Jul 11, 2021
1 parent 09aeaf3 commit a191a98
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 @@ -12,7 +12,7 @@ declare module "react-icons-kit" {
onClick?: React.MouseEventHandler<HTMLDivElement>
}
export const Icon: React.ComponentType<IconProp>
const withBaseIcon: (props: Pick<IconProp, Exclude<keyof IconProp, 'icon'>>) => React.SFC<IconProp>
export const withBaseIcon: (props: Pick<IconProp, Exclude<keyof IconProp, 'icon'>>) => React.SFC<IconProp>
export default Icon
}

Expand Down

0 comments on commit a191a98

Please sign in to comment.