Skip to content

Commit e051cee

Browse files
committed
Show Input name as Chip
1 parent 9121a58 commit e051cee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

react-app/src/home/viewer/InputDetails.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import Typography from '@mui/material/Typography';
55
import Grid from '@mui/material/Grid';
66
import Divider from '@mui/material/Divider';
77
import Link from '@mui/material/Link';
8+
import Chip from '@mui/material/Chip';
9+
810

911
const InputDetails = ({ inputs, navigateToTab }) => {
1012
return (
@@ -26,7 +28,9 @@ const ListProperties = ({ properties, navigateToTab }) => {
2628
{Object.entries(properties).map(([key, value]) => (
2729
<>
2830
<tr>
29-
<td colspan="3" align="left"><Typography>- {key}</Typography></td>
31+
<td colspan="3" align="left">
32+
<Chip label={key} />
33+
</td>
3034
</tr>
3135
<tr>
3236
<td align="left" valign="top" width="1%"></td>

0 commit comments

Comments
 (0)