Skip to content

Commit

Permalink
fix: export IConfettiOptions
Browse files Browse the repository at this point in the history
Closes Types are no longer export #165
  • Loading branch information
alampros committed Feb 22, 2025
1 parent 3be757d commit 73dffe8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ReactConfetti.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from 'react'
import Confetti, { IConfettiOptions, confettiDefaults } from './Confetti'

export type { IConfettiOptions } from './Confetti'

const ref = React.createRef<HTMLCanvasElement>()

export type Props = Partial<IConfettiOptions> &
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { ReactConfetti } from './ReactConfetti'
export type { IConfettiOptions } from './Confetti'

export default ReactConfetti

0 comments on commit 73dffe8

Please sign in to comment.