Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package utils
import org.w3c.dom.HTMLElement
@JsName("grecaptcha")
external object GoogleRecaptcha {
fun render(element: HTMLElement, options: RecaptchaOptions)
}
class RecaptchaOptions(val sitekey: String, val callback: String, val size: String)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment