intro.js-react icon indicating copy to clipboard operation
intro.js-react copied to clipboard

Fixes for next.js

Open HaoboZ opened this issue 2 years ago • 0 comments

This throws an error in next.js because instanceOf(Element) will not work for SSR. The usage of dynamic import isn't exactly a solution but a workaround to a problem that only involves typechecking. PropTypes.element should work for it instead.

HaoboZ avatar Jul 23 '22 17:07 HaoboZ