Skip to content

Commit

Permalink
chore(docs): Update docs
Browse files Browse the repository at this point in the history
ref #77
  • Loading branch information
marsidev committed Jul 14, 2024
1 parent 08ea4cb commit c227f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ interface TurnstileProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onE
siteKey: RenderOptions['sitekey']

/**
* Callback invoked when the widget is loaded or reloaded (e.g. after a reset).
* Callback invoked after a successful render of the widget. The callback is passed the widget ID. It does not trigger when the widget is reset.
*/
onWidgetLoad?: (widgetID: string) => void

Expand Down

0 comments on commit c227f3c

Please sign in to comment.