Skip to content

Commit

Permalink
fix: import React → import * as React
Browse files Browse the repository at this point in the history
resolved #41
  • Loading branch information
akameco committed Jun 18, 2019
1 parent e52ac88 commit 8efb2c6
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion example/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
// eslint-disable-next-line import/no-extraneous-dependencies
import { render } from 'react-dom'
import {
Expand Down
2 changes: 1 addition & 1 deletion src/ChasingDots/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/ChasingDots/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import { StyledChangeDots, Child } from './styles'

Expand Down
2 changes: 1 addition & 1 deletion src/Circle/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/Circle/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { getRange, roundTo } from '../util'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import { Child, StyledCircle } from './styles'
Expand Down
2 changes: 1 addition & 1 deletion src/CubeGrid/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/CubeGrid/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import { roundTo } from '../util'
import { Child, StyledCubeGrid } from './styles'
Expand Down
2 changes: 1 addition & 1 deletion src/DoubleBounce/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/DoubleBounce/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import { Child, StyledDoubleBounce } from './styles'

Expand Down
2 changes: 1 addition & 1 deletion src/FadingCircle/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/FadingCircle/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { getRange, roundTo } from '../util'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import { Child, StyledForldingCircle } from './styles'
Expand Down
2 changes: 1 addition & 1 deletion src/FoldingCube/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/FoldingCube/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import { roundTo } from '../util'
import { Child, StyledFoldingCube } from './styles'
Expand Down
2 changes: 1 addition & 1 deletion src/Pulse/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/Pulse/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import StyledPulse from './styles'

Expand Down
2 changes: 1 addition & 1 deletion src/RotaingPlane/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/RotaingPlane/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import StyledRotaingPlain from './styles'

Expand Down
2 changes: 1 addition & 1 deletion src/ThreeBounce/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/ThreeBounce/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import { Child, StyledThreeBounce } from './styles'

Expand Down
2 changes: 1 addition & 1 deletion src/WanderingCubes/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/WanderingCubes/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import { roundTo } from '../util'
import { Child, StyledWanderingCubes } from './styles'
Expand Down
2 changes: 1 addition & 1 deletion src/WaveLoading/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import renderer from 'react-test-renderer'
import Comp from '.'

Expand Down
2 changes: 1 addition & 1 deletion src/WaveLoading/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { getRange, roundTo } from '../util'
import { SpinkitProps, DEFAULT_SIZE, DEFAULT_COLOR } from '../types'
import { Rect, StyledWave } from './styles'
Expand Down

0 comments on commit 8efb2c6

Please sign in to comment.