Skip to content

Commit

Permalink
fix(types): remove NamedExoticComponent
Browse files Browse the repository at this point in the history
/facepalm

Fix #65
  • Loading branch information
alampros committed Aug 9, 2019
1 parent df48e10 commit b6dec94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ReactConfetti.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { Component, CanvasHTMLAttributes, NamedExoticComponent } from 'react'
import React, { Component, CanvasHTMLAttributes } from 'react'
import Confetti, { IConfettiOptions, confettiDefaults } from './Confetti'

export type Ref = HTMLCanvasElement

export type Props = Partial<IConfettiOptions> & NamedExoticComponent & CanvasHTMLAttributes<HTMLCanvasElement> & {
export type Props = Partial<IConfettiOptions> & CanvasHTMLAttributes<HTMLCanvasElement> & {
canvasRef: React.RefObject<HTMLCanvasElement>
}

Expand Down

0 comments on commit b6dec94

Please sign in to comment.