feat: show current env vars

This commit is contained in:
Anoop M D
2023-01-27 03:24:21 +05:30
parent a45628dd85
commit 4a403a253e
15 changed files with 213 additions and 6 deletions

View File

@@ -0,0 +1,21 @@
import React from 'react';
import StyledWrapper from './StyledWrapper';
const VariablesTable = ({ variables }) => {
return (
<StyledWrapper>
<table className="w-full">
<tbody>
{variables.map((variable) => (
<tr key={variable.uid}>
<td className='variable-name text-yellow-600'>{variable.name}</td>
<td className='pl-2'>{variable.value}</td>
</tr>
))}
</tbody>
</table>
</StyledWrapper>
);
};
export default VariablesTable;