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

Commit

Permalink
fix: removal of deprecated React.SFC syntax (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
opicacek authored and jukben committed Jun 11, 2019
1 parent 494fa44 commit d4ec214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const FILE_BANNER = `/**

const INDEX_EXTRA_CONTENT = `import React from 'react';
export type IconComponent = React.SFC<{ className?: string }>;
export type IconComponent = React.FC<{ className?: string }>;
`;

Expand Down

0 comments on commit d4ec214

Please sign in to comment.