Skip to content

Commit

Permalink
fix: add react client directive (#28)
Browse files Browse the repository at this point in the history
* fix: add react client directive

* chore: add changeset
lgraubner authored Sep 23, 2024
1 parent d582125 commit 248c6be
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-ties-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@neoconfetti/react': minor
---

Add React client directive
2 changes: 2 additions & 0 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { confetti, type ConfettiOptions, type ConfettiParticleShape } from '@neoconfetti/core';
import { createElement, useEffect, useRef } from 'react';

0 comments on commit 248c6be

Please sign in to comment.