1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| import * as React from 'react';
| import {
| EditBase,
| useTranslate,
| TextInput,
| SimpleForm,
| DateField,
| Labeled,
| } from 'react-admin';
| import { Box, Grid, Stack, IconButton, Typography, Card, CardContent, TextField } from '@mui/material';
| import CloseIcon from '@mui/icons-material/Close';
|
| const OperationDetail = (props) => {
| const { operation, setDrawerVal, ...rest } = props;
| console.log(operation);
|
| return (
| <>
| <Card>
| <CardContent>
| <TextField value={JSON.stringify(operation)} maxRows={15} multiline />
| </CardContent>
| </Card>
| </>
| )
| }
|
| export default OperationDetail;
|
|