Initial commit

This commit is contained in:
Scott E. Graves
2018-09-25 12:30:15 -05:00
commit a778b6dd25
52 changed files with 3450 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
import React from 'react';
import CSSModules from 'react-css-modules';
import styles from './Dependency.css';
export default CSSModules((props) => {
return (
<div styleName='Dependency'>
<table width="100%">
<tbody>
<tr>
<td width="35%">
<h3>{props.name}</h3>
</td>
<td>
{props.allowDownload ?
<a styleName='Link' href={void(0)} onClick={()=>{props.onDownload(props.download); return false;}}><u>Install</u></a> :
'Installing...'}
</td>
</tr>
</tbody>
</table>
</div>
);
}, styles, {allowMultiple: true});