grapher-react
grapher-react copied to clipboard
errorComponent and loadingComponent options don't allow functions
This makes it impossible to use React functional components in errorComponent or loadingComponent options.
@od1k good point.
👍 bumping this... Looks like this was broken when poll option was added...
https://github.com/cult-of-coders/grapher-react/blob/master/lib/checkOptions.js#L9-L10