trainline / react-skeletor

Skeleton loading for React
https://trainline.github.io/react-skeletor/
Other
554 stars 27 forks source link

Change type argument from SFC to ComponentType #20

Open jariz opened 6 years ago

jariz commented 6 years ago

Description

Change type argument from SFC to ComponentType because the exact component type is of no relevance to skeletor.

Addressed issue

19

jariz commented 5 years ago

@thetrainconductor @alex3165 yo, any sign of life? I really recommend to merge this as it makes using the project with TS quite hard