This commit is contained in:
2021-08-04 17:17:16 -05:00
parent ce6d96e59b
commit e23c0086c2
75 changed files with 1255 additions and 1246 deletions

View File

@@ -2,33 +2,33 @@ import React from 'react';
import './Dependency.css';
import * as Constants from '../../../constants';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import {connect} from 'react-redux';
const Dependency = (props) => {
return (
<div className={'Dependency'}>
<table width="100%">
<tbody>
<tr>
<td width="35%">
<h3>{props.name}</h3>
</td>
<td>
{props.AllowDownload ? (
<a
href={'#'}
className={'DependencyLink'}
onClick={() => {
props.onDownload();
return false;
}}>
<u>Install</u>
</a>
) : (
'Installing...'
)}
</td>
</tr>
<tr>
<td width="35%">
<h3>{props.name}</h3>
</td>
<td>
{props.AllowDownload ? (
<a
href={'#'}
className={'DependencyLink'}
onClick={() => {
props.onDownload();
return false;
}}>
<u>Install</u>
</a>
) : (
'Installing...'
)}
</td>
</tr>
</tbody>
</table>
</div>