react-skeletor
react-skeletor copied to clipboard
createSkeletonElement typing only accepts stateless components.
It has no real reason to do so though, the exact component type is of no relevance to skeletor, as it passes the argument down to createElement eitherway.
Any thoughts on this?