working on gasht detail part

This commit is contained in:
2024-12-23 12:59:19 +03:30
parent aedeb62849
commit d650e55604
2 changed files with 17 additions and 11 deletions

View File

@@ -1,8 +1,9 @@
"use client";
import {Box, Slide} from "@mui/material";
import {Box, Button, Chip, Divider, Slide} from "@mui/material";
import {useState} from "react";
import CarCode from "@/core/components/CarCode";
import SearchIcon from '@mui/icons-material/Search';
const PatrolDetail = ({tabState, setTabState}) => {
const [patrolFounded, setPatrolFounded] = useState(false);
@@ -18,9 +19,14 @@ const PatrolDetail = ({tabState, setTabState}) => {
my: 3
}}
>
<Box>
<Box sx={{display: "flex", gap: 2}}>
<CarCode carCode={carCode} setCarCode={setCarCode}/>
<Button variant="contained" color="success" endIcon={<SearchIcon/>}>درخواست اطلاعات</Button>
</Box>
<Divider sx={{my: 2, width: "100%"}}>
<Chip color="primary" label="مشخصات گشت"/>
</Divider>
<Slide in={patrolFounded} sx={{my: 5, width: {xs: "100%", sm: "70%"}}}>
<Box>
</Box>