Skip to content
This repository was archived by the owner on Jul 9, 2019. It is now read-only.

Commit 9a80589

Browse files
committed
fix: React required to be global
1 parent 888cdbb commit 9a80589

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

src/edit-list.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 {ReactChild} from 'react'
23
import {FieldConfig, FormHelper} from 'react-form-helper'
34
import {getValue} from 'react-form-helper/dist/src/helpers'

src/loading-button.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 {Component} from 'react'
23
import {Button} from 'react-toolbox/lib/button'
34
import {Spinner} from './spinner'

src/menu.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 {IconButton} from 'react-toolbox/lib/button'
23
import {IconMenu, MenuItem} from 'react-toolbox/lib/menu'
34
import {withMedia} from 'react-with-media'

src/spinner.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 {StatelessComponent} from 'react'
23
import ProgressBar from 'react-toolbox/lib/progress_bar'
34
import compose from 'recompose/compose'

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"declaration": true,
66
"target": "es2015",
77
"lib": ["dom", "es5", "es2015", "es2016", "es2017"],
8-
"jsx": "preserve",
8+
"jsx": "react",
99
"moduleResolution": "node"
1010
},
1111
"include": [

0 commit comments

Comments
 (0)