grapher-react icon indicating copy to clipboard operation
grapher-react copied to clipboard

errorComponent and loadingComponent options don't allow functions

Open olgertse opened this issue 7 years ago • 2 comments

This makes it impossible to use React functional components in errorComponent or loadingComponent options.

olgertse avatar Feb 26 '18 08:02 olgertse

@od1k good point.

theodorDiaconu avatar Feb 26 '18 15:02 theodorDiaconu

👍 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

justbill2020 avatar Jun 29 '18 00:06 justbill2020