Closed Tscheffrey closed 6 years ago
dom-confetti sets the colors of the particles: https://github.com/daniel-lundin/dom-confetti/blob/7c56b9ba4be7b7aae0766f5ccb58b58885bb0273/src/main.js#L1
Would be great if there was a way to control this in React.
Hi,
react-dom-confetti just passes the config prop to dom-confetti so if you pass a property color in the config object it should work as expected.
color
dom-confetti sets the colors of the particles: https://github.com/daniel-lundin/dom-confetti/blob/7c56b9ba4be7b7aae0766f5ccb58b58885bb0273/src/main.js#L1
Would be great if there was a way to control this in React.