From d4ec21413012b07c03337453d9f6fd29ae45e93e Mon Sep 17 00:00:00 2001 From: Opi Danihelka Date: Tue, 11 Jun 2019 16:43:46 +0200 Subject: [PATCH] fix: removal of deprecated React.SFC syntax (#19) --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 632ab43..acb8f4b 100644 --- a/src/utils.js +++ b/src/utils.js @@ -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 }>; `;