Removed react-css-modules

This commit is contained in:
Scott E. Graves
2019-04-09 12:18:57 -05:00
parent 177fd97c4b
commit 35a38977b6
46 changed files with 201 additions and 1395 deletions

View File

@@ -1,10 +1,9 @@
import React from 'react';
import CSSModules from 'react-css-modules';
import styles from './Dependency.css';
import './Dependency.css';
export default CSSModules((props) => {
export default props => {
return (
<div styleName='Dependency'>
<div className={'Dependency'}>
<table width="100%">
<tbody>
<tr>
@@ -13,7 +12,7 @@ export default CSSModules((props) => {
</td>
<td>
{props.allowDownload ?
<a styleName='Link' href={void(0)} onClick={()=>{props.onDownload(props.download); return false;}}><u>Install</u></a> :
<a href={void(0)} className={'DependencyLink'} onClick={()=>{props.onDownload(props.download); return false;}}><u>Install</u></a> :
'Installing...'}
</td>
</tr>
@@ -21,5 +20,4 @@ export default CSSModules((props) => {
</table>
</div>
);
}, styles, {allowMultiple: true});
};