mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Update types and add default class export * Add Export to modules and update import in test file
12 lines
258 B
TypeScript
12 lines
258 B
TypeScript
import { ReCaptcha } from "react-recaptcha-v3";
|
|
import * as ReactDOM from "react-dom";
|
|
import * as React from "react";
|
|
|
|
ReactDOM.render(
|
|
<ReCaptcha
|
|
sitekey="xxxxxx"
|
|
action="action"
|
|
/>,
|
|
document.getElementById('form-recaptcha')
|
|
);
|