CI/CD
This commit is contained in:
18
ui/src/components/KvList.jsx
Normal file
18
ui/src/components/KvList.jsx
Normal file
@@ -0,0 +1,18 @@
|
||||
export function KvList({ values }) {
|
||||
return (
|
||||
<dl className="kv">
|
||||
{values.map(([key, value]) => (
|
||||
<FragmentRow key={key} label={key} value={value} />
|
||||
))}
|
||||
</dl>
|
||||
);
|
||||
}
|
||||
|
||||
function FragmentRow({ label, value }) {
|
||||
return (
|
||||
<>
|
||||
<dt>{label}</dt>
|
||||
<dd>{value}</dd>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user