Skip to content

Commit b6b30a8

Browse files
committed
Revert "chore: update rollup packages"
This reverts commit efd61af.
1 parent 7135bc0 commit b6b30a8

File tree

8 files changed

+357
-355
lines changed

8 files changed

+357
-355
lines changed

__tests__/google-recaptcha-provider.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import * as React from 'react';
12
import { GoogleReCaptchaProvider } from 'src/google-recaptcha-provider';
23
import { render, waitFor } from '@testing-library/react';
34

__tests__/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"target": "es5",
44
"module": "ES2015",
55
"lib": ["es2015", "es7", "dom"],
6-
"jsx": "react-jsx",
6+
"jsx": "react",
77
"declaration": true,
88
"declarationMap": true,
99
"declarationDir": "./dist/types",

example/google-recaptcha-example.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useState, FC, useCallback } from 'react';
1+
import React, { useState, FC, useCallback } from 'react';
22
import { useGoogleReCaptcha } from '../src/use-google-recaptcha';
33
import { GoogleReCaptcha } from '../src/google-recaptcha';
44

example/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import * as React from 'react';
12
import * as ReactDom from 'react-dom';
23
import { GoogleReCaptchaProvider } from '../src/google-recaptcha-provider';
34
import { GoogleRecaptchaExample } from './google-recaptcha-example';

0 commit comments

Comments
 (0)