daniel-lundin / react-dom-confetti

Trigger confetti explosions on state transitions
624 stars 30 forks source link

Render children, and spout confetti from center of children #1

Open advance512 opened 7 years ago

advance512 commented 7 years ago

e.g.:

<Confetti active={startedRecently} />
    <Button name="start"/>
</Confetti>