Skip to content

Commit

Permalink
Fixed: React Typings onInit -> onReady #1294
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjbradshaw committed Jul 16, 2024
1 parent b31c73d commit 081ee1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ declare module '@iframe-resizer/react' {
}

type ResizerEvents = {
onInit?: (iframe: IFrameComponent) => void
onReady?: (iframe: IFrameComponent) => void
onMessage?: (ev: { iframe: IFrameComponent; message: any }) => void
onResized?: (ev: {
iframe: IFrameComponent
Expand Down

0 comments on commit 081ee1b

Please sign in to comment.