Removed react-css-modules
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import React from 'react';
|
||||
import CSSModules from 'react-css-modules';
|
||||
import styles from './MountItem.css';
|
||||
import './MountItem.css';
|
||||
import DropDown from '../UI/DropDown/DropDown';
|
||||
import Button from '../UI/Button/Button';
|
||||
import Loader from 'react-loader-spinner';
|
||||
@@ -9,7 +8,7 @@ import Grid from '../UI/Grid/Grid';
|
||||
import configureImage from '../../assets/images/configure.png';
|
||||
import RootElem from '../../hoc/RootElem/RootElem';
|
||||
|
||||
export default CSSModules((props) => {
|
||||
export default props => {
|
||||
let configButton = null;
|
||||
let secondRow = 6;
|
||||
if (props.allowConfig) {
|
||||
@@ -51,7 +50,7 @@ export default CSSModules((props) => {
|
||||
maxLength={4096}
|
||||
onChange={props.changed}
|
||||
size={4096}
|
||||
styleName={'Input'}
|
||||
className={'MountItemInput'}
|
||||
type={'text'}
|
||||
value={props.location}/>
|
||||
</RootElem>
|
||||
@@ -122,4 +121,4 @@ export default CSSModules((props) => {
|
||||
{autoRestartControl}
|
||||
</Grid>
|
||||
);
|
||||
}, styles, {allowMultiple: true});
|
||||
};
|
||||
Reference in New Issue
Block a user