Skip to content

Commit

Permalink
Replace deprecated SFC with FunctionComponent (#6746)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamandrewluca authored and iansu committed Apr 5, 2019
1 parent 3e336d9 commit b8a47d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/lib/react-app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ declare module '*.webp' {
declare module '*.svg' {
import * as React from 'react';

export const ReactComponent: React.SFC<React.SVGProps<SVGSVGElement>>;
export const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;

const src: string;
export default src;
Expand Down

0 comments on commit b8a47d9

Please sign in to comment.