Closed codingyourlife closed 4 years ago
I have the same issue
I also have this issue. Does @daniel-lundin need help with a pull request?
I just merged a PR with a fix for the typescript definition. Will do release later today. Thanks for the patience
Great thanks, @daniel-lundin! Much appreciated for the hasty work :)
0.1.4 is now released which should fix this.
The example shows width and height as string: https://daniel-lundin.github.io/react-dom-confetti/
But node_modules/react-dom-confetti/index.d.ts shows:
width and height as number or empty. It also doesn't work when I pass in: