Open anyadefijn opened 1 year ago
sorry y'all, I did not have the styled-jsx package installed and even with it installed, typescript was throwing errors. I put a @ts-ignore above the <style jsx>
tag and the problem was solved
Sorry about the styled-jsx
package dependency. We use this in our demo site but should likely remove it from all of our sandbox examples so they are all more standalone. I'll update the title to reflect this so we can track the issue.
Copying code directly from the wordcloud example on the visx Demo site produces the following output with overlapping words:
called as follows within a React FunctionComponent:
example.tsx
contents from text.fixture.ts