Add React imports in settings manager

This commit is contained in:
Pierre Burgy 2017-09-27 17:13:15 +02:00
parent 2304d66306
commit 15cf4c979f
27 changed files with 27 additions and 0 deletions

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
import styles from './styles.scss'; import styles from './styles.scss';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
import styles from './styles.scss'; import styles from './styles.scss';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { map } from 'lodash'; import { map } from 'lodash';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { map, isEmpty } from 'lodash'; import { map, isEmpty } from 'lodash';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { has, map, forEach } from 'lodash'; import { has, map, forEach } from 'lodash';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { map } from 'lodash'; import { map } from 'lodash';
import WithFormSection from 'components/WithFormSection'; import WithFormSection from 'components/WithFormSection';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { NavLink } from 'react-router-dom'; import { NavLink } from 'react-router-dom';
import { join, map, take } from 'lodash'; import { join, map, take } from 'lodash';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
import { map } from 'lodash'; import { map } from 'lodash';

View File

@ -27,6 +27,7 @@
* - styles are retrieved from the HOC * - styles are retrieved from the HOC
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { isEmpty, includes, map, mapKeys, isObject, reject, union, uniqBy } from 'lodash'; import { isEmpty, includes, map, mapKeys, isObject, reject, union, uniqBy } from 'lodash';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { isEmpty, includes, mapKeys, reject, map, isObject } from 'lodash'; import { isEmpty, includes, mapKeys, reject, map, isObject } from 'lodash';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { map } from 'lodash'; import { map } from 'lodash';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -27,6 +27,7 @@
* - styles are retrieved from the HOC * - styles are retrieved from the HOC
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { isEmpty, includes, mapKeys, reject, map, isObject, union, findIndex, uniqBy, remove } from 'lodash'; import { isEmpty, includes, mapKeys, reject, map, isObject, union, findIndex, uniqBy, remove } from 'lodash';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -11,6 +11,7 @@
* - isChecked: bool * - isChecked: bool
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
import styles from './styles.scss'; import styles from './styles.scss';

View File

@ -15,6 +15,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { map, isEmpty } from 'lodash'; import { map, isEmpty } from 'lodash';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { map } from 'lodash'; import { map } from 'lodash';
import PluginLeftMenuSection from 'components/PluginLeftMenuSection'; import PluginLeftMenuSection from 'components/PluginLeftMenuSection';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { NavLink } from 'react-router-dom'; import { NavLink } from 'react-router-dom';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { map } from 'lodash'; import { map } from 'lodash';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { map } from 'lodash'; import { map } from 'lodash';
import WithFormSection from 'components/WithFormSection'; import WithFormSection from 'components/WithFormSection';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
// modal // modal
import { Button, Modal, ModalHeader, ModalBody } from 'reactstrap'; import { Button, Modal, ModalHeader, ModalBody } from 'reactstrap';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
import { isEmpty } from 'lodash'; import { isEmpty } from 'lodash';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { find, get, join, isObject } from 'lodash'; import { find, get, join, isObject } from 'lodash';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import getFlag, { formatLanguageLocale } from '../../utils/getFlag'; import getFlag, { formatLanguageLocale } from '../../utils/getFlag';
import styles from './styles.scss'; import styles from './styles.scss';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { findIndex, forEach, has, isObject , join, pullAt, split, includes} from 'lodash'; import { findIndex, forEach, has, isObject , join, pullAt, split, includes} from 'lodash';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import styles from './styles.scss'; import styles from './styles.scss';
const WithInput = (InnerInput) => class extends React.Component { // eslint-disable-line react/prefer-stateless-function const WithInput = (InnerInput) => class extends React.Component { // eslint-disable-line react/prefer-stateless-function

View File

@ -5,6 +5,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect'; import { createStructuredSelector } from 'reselect';

View File

@ -4,6 +4,7 @@
* *
*/ */
import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { bindActionCreators, compose } from 'redux'; import { bindActionCreators, compose } from 'redux';

View File

@ -9,6 +9,7 @@
* the linting exception. * the linting exception.
*/ */
import React from 'react';
import { FormattedMessage } from 'react-intl'; import { FormattedMessage } from 'react-intl';
export default class NotFound extends React.Component { export default class NotFound extends React.Component {