feat: use text field instead of typography

This commit is contained in:
karishmas6
2024-07-27 00:01:23 +05:30
parent 979de4d2f6
commit fec3461653

View File

@@ -156,7 +156,15 @@ export const RightSidePanel = ({ pairForEdit }: RightSidePanelProps) => {
readOnly: confirmedSteps[step.id]
}}
/>
<Typography variant="h6">{step.value}</Typography>
<TextField
label="Data"
value={step.value}
fullWidth
margin="normal"
InputProps={{
readOnly: confirmedSteps[step.id]
}}
/>
{!confirmedSteps[step.id] && (
<Box display="flex" justifyContent="space-between" gap={2}>
<Button