Skip to content

Commit

Permalink
fix(app): fix react import and absolute import
Browse files Browse the repository at this point in the history
  • Loading branch information
matteoterrinoni committed Sep 27, 2018
1 parent 3499b44 commit 1a1206f
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/demo/demo.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 * as V from 'src/react-virtualized-table';

Expand Down
2 changes: 1 addition & 1 deletion src/demo/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 ReactDOM from "react-dom";

import Demo from 'src/demo/demo'
Expand Down
2 changes: 1 addition & 1 deletion src/demo/jumbotron/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 Icon from 'src/icon'

Expand Down
2 changes: 1 addition & 1 deletion src/demo/mainTable/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 * as V from 'src/react-virtualized-table';

Expand Down
2 changes: 1 addition & 1 deletion src/demo/navbar/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 Icon from 'src/icon'

Expand Down
2 changes: 1 addition & 1 deletion src/demo/sidebar/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 Table from 'src/demo/mainTable'

Expand Down
2 changes: 1 addition & 1 deletion src/demo/smallerTables/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 * as V from 'src/react-virtualized-table';

Expand Down
2 changes: 1 addition & 1 deletion src/filtered/head.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 M from './model'

Expand Down
8 changes: 3 additions & 5 deletions src/filtered/index.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
import React from 'react'
import * as React from 'react'

import * as Helpers from '../helpers'
const {merge, deepCopy} = Helpers

import {
VTable,
VTableProps
} from "src"
} from "../index"

import {
Column
} from '../model'

import SearchField from '../searchfield'

import Checkbox from '../checkbox'

import Head from './head'
Expand All @@ -24,7 +22,7 @@ import M, {
filtered
} from './model'

import CP, {
import {
Item,
Given,
initCounter,
Expand Down
2 changes: 1 addition & 1 deletion src/head.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 Sticky from './stickyWrapper'

Expand Down
2 changes: 1 addition & 1 deletion src/icon/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'

export type Props = {
type?:string,
Expand Down
2 changes: 1 addition & 1 deletion src/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 {
merge, deepCopy
Expand Down
2 changes: 1 addition & 1 deletion src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import I from './icon/model'

import C from './checkbox/model'

import { VTable } from 'src'
import { VTable } from './index'

const listRowHeight = 50
const codepickerHeight = 250
Expand Down
2 changes: 1 addition & 1 deletion src/row.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 CP, {
Item,
Expand Down
2 changes: 1 addition & 1 deletion src/searchfield/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'

export type Props = {
onChange:Function,
Expand Down
2 changes: 1 addition & 1 deletion src/stickyWrapper/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 SM, {
S as Sticky
Expand Down

0 comments on commit 1a1206f

Please sign in to comment.