Skip to content

Commit

Permalink
fix allowSyntheticDefaultImports
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Oct 21, 2019
1 parent fae9681 commit 22081e7
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions src/BaseTable.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import * as React from 'react';
import * as PropTypes from 'prop-types';
import { connect } from 'mini-store';
import classNames from 'classnames';
import ColGroup from './ColGroup';
Expand Down
4 changes: 2 additions & 2 deletions src/BodyTable.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import * as React from 'react';
import * as PropTypes from 'prop-types';
import { measureScrollbar } from './utils';
import BaseTable from './BaseTable';
import { FixedType, ColumnType, GetRowKey, Expander } from './interface';
Expand Down
4 changes: 2 additions & 2 deletions src/ColGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import * as React from 'react';
import * as PropTypes from 'prop-types';
import { INTERNAL_COL_DEFINE } from './utils';
import { FixedType, ColumnType, InternalColumnType } from './interface';

Expand Down
2 changes: 1 addition & 1 deletion src/Column.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 { ColumnType } from './interface';

export type ColumnProps = ColumnType;
Expand Down
2 changes: 1 addition & 1 deletion src/ColumnGroup.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 interface ColumnGroupProps {
title?: React.ReactNode;
Expand Down
2 changes: 1 addition & 1 deletion src/ColumnManager.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable no-underscore-dangle */
import React from 'react';
import * as React from 'react';
import { ColumnType, Cell } from './interface';
import ColumnGroup from './ColumnGroup';

Expand Down
2 changes: 1 addition & 1 deletion src/ExpandIcon.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 shallowequal from 'shallowequal';
import { IconExpandEventHandler } from './interface';

Expand Down
2 changes: 1 addition & 1 deletion src/ExpandableRow.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 { connect } from 'mini-store';
import ExpandIcon from './ExpandIcon';
import {
Expand Down
2 changes: 1 addition & 1 deletion src/ExpandableTable.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 { connect } from 'mini-store';
import { polyfill } from 'react-lifecycles-compat';
import shallowEqual from 'shallowequal';
Expand Down
4 changes: 2 additions & 2 deletions src/HeadTable.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import * as React from 'react';
import * as PropTypes from 'prop-types';
import classNames from 'classnames';
import { measureScrollbar } from './utils';
import BaseTable from './BaseTable';
Expand Down
4 changes: 2 additions & 2 deletions src/Table.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import * as React from 'react';
import * as PropTypes from 'prop-types';
import shallowequal from 'shallowequal';
import addEventListener from 'rc-util/lib/Dom/addEventListener';
import warning from 'rc-util/lib/warning';
Expand Down
2 changes: 1 addition & 1 deletion src/TableCell.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 classNames from 'classnames';
import get from 'lodash/get';
import { ColumnType, CustomizeComponent, Cell, RenderedCell } from './interface';
Expand Down
4 changes: 2 additions & 2 deletions src/TableHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import * as React from 'react';
import * as PropTypes from 'prop-types';
import TableHeaderRow from './TableHeaderRow';
import {
ColumnType,
Expand Down
2 changes: 1 addition & 1 deletion src/TableHeaderRow.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 { connect } from 'mini-store';
import classNames from 'classnames';
import {
Expand Down
2 changes: 1 addition & 1 deletion src/TableRow.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 warning from 'rc-util/lib/warning';
import { connect } from 'mini-store';
Expand Down
2 changes: 1 addition & 1 deletion src/interface.ts
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 Key = React.Key;

Expand Down

0 comments on commit 22081e7

Please sign in to comment.