From c227f3c6fd38f36dd08b8ffd154525f0edad1b6f Mon Sep 17 00:00:00 2001 From: Luis Marsiglia Date: Sat, 13 Jul 2024 20:21:13 -0400 Subject: [PATCH] chore(docs): Update docs ref #77 --- packages/lib/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/src/types.ts b/packages/lib/src/types.ts index aea1a9e..c728185 100644 --- a/packages/lib/src/types.ts +++ b/packages/lib/src/types.ts @@ -308,7 +308,7 @@ interface TurnstileProps extends Omit, '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