|
Foydalanuvchilar ro'yxati
|
bet | 2/4 | Sana | 15.07.2022 | Hajmi | 41,39 Kb. | | #802355 |
| Bog'liq 1 - hujjat
Foydalanuvchilar ro'yxati
{humen.status === "success" && (
data={humen.message}
viewClick={handleClickView}
titles={["id", "FIO", "Telefon raqam", "Passport seriyasi"]}
/>
)}
{renderContent}
);
}
export default HumenLeft;
import React, { useEffect, useState } from "react";
import Button from "../../shared/UIElements/Button";
import MyInsert from "../../shared/UIElements/MyInsert";
import { userServices } from "../../services";
import Modal from "../../shared/UIElements/Modal";
import Table from "../../shared/UIElements/MyTable";
import SearchBar from "../../shared/UIElements/SearchBar";
import List from "../../shared/UIElements/MyList";
const labels = {
fio: "FIO",
phone: "Telefon raqam",
passport_serial: "Passport seriyasi",
passport_number: "Passport raqami",
birth_day: "Tug'ilgan kun",
gender: "Jinsi",
address: "Yashab turgan manzil",
residence_permit: "Ro'yaxtdagi manzili",
list_human: "Daftarlar",
};
const HumenLeft=({modal})=> {
const [modalList, setModalList] = useState({ list_human: "", address: "",gender:'' });
const [humen, setHumen] = useState({
status: "initial",
message: "",
});
const [renderComponent, setRenderComponent] = useState();
const renderContent = (
show={modal.show}
onCloseModal={modal.onCloseModal}
renderComponent={renderComponent}
title="Title"
| Do'stlaringiz bilan baham: |