mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-08 14:35:03 +00:00
feat: show current env vars
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user