Using without onClick not possible
Closed this issue · 0 comments
nygrenh commented
Uncaught TypeError: _this2.props.onClick is not a function
at onClick (index.js:5041)
at Object.ReactErrorUtils.invokeGuardedCallback (ReactErrorUtils.js:69)
at executeDispatch (EventPluginUtils.js:85)
at Object.executeDispatchesInOrder (EventPluginUtils.js:108)
at executeDispatchesAndRelease (EventPluginHub.js:43)
at executeDispatchesAndReleaseTopLevel (EventPluginHub.js:54)
at Array.forEach (<anonymous>)
at forEachAccumulated (forEachAccumulated.js:24)
at Object.processEventQueue (EventPluginHub.js:257)
at runEventQueueInBatch (ReactEventEmitterMixin.js:17)