Templarian / MaterialDesign-React

Dist for Material Design Icons React Component for JS/TypeScript
https://materialdesignicons.com
MIT License
139 stars 20 forks source link

Icon is using deprecated SFC type instead of FunctionComponent type #37

Closed jhlav closed 4 years ago

jhlav commented 4 years ago

Since React Hooks were released, the SFC type for Typescript has been deprecated. The Type definition says to use the FunctionComponent type instead, so I am opening another PR to simply update that. This seems to be just a type name change without side effects.

image

Templarian commented 4 years ago

Resolved.