mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-27 22:54:07 +00:00
22 lines
537 B
JavaScript
22 lines
537 B
JavaScript
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;
|