You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
595 B
21 lines
595 B
|
4 years ago
|
import React from "react";
|
||
|
|
import { Box, Text } from "grommet";
|
||
|
|
import { Camera } from "grommet-icons";
|
||
|
|
|
||
|
|
import { stateToColor } from "../../utils/indi";
|
||
|
|
|
||
|
|
const BLOBVector = ({ vector }) => {
|
||
|
|
return (
|
||
|
|
<Box gap="xsmall">
|
||
|
|
{vector.values.map((v) => (
|
||
|
|
<Box key={v.name} direction="row" align="center" gap="small">
|
||
|
|
<Box width="small"><Text>{v.label ? `${v.label} (${v.name})` : v.name}</Text></Box>
|
||
|
|
<Box width="medium" direction="row" gap="small"><Camera /><Text>Binary data</Text></Box>
|
||
|
|
</Box>
|
||
|
|
))}
|
||
|
|
</Box>
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export default BLOBVector;
|