|
|
|
@ -1,12 +1,5 @@ |
|
|
|
import React from "react"; |
|
|
|
import React from "react"; |
|
|
|
|
|
|
|
|
|
|
|
import profilePic1 from "./images/profilePic1.svg"; |
|
|
|
|
|
|
|
import profilePic2 from "./images/profilePic2.svg"; |
|
|
|
|
|
|
|
import profilePic3 from "./images/profilePic3.svg"; |
|
|
|
|
|
|
|
import profilePic4 from "./images/profilePic4.svg"; |
|
|
|
|
|
|
|
import profilePic5 from "./images/profilePic5.svg"; |
|
|
|
|
|
|
|
import pen from "./pen.svg"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const CustomToast2 = ({ items, num }) => { |
|
|
|
const CustomToast2 = ({ items, num }) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
@ -39,7 +32,11 @@ const CustomToast2 = ({ items, num }) => { |
|
|
|
<span className="px-2 py-0.5 mr-2 rounded-sm bg-[#C9E2B388] text-[#468722] font-sansbold"> |
|
|
|
<span className="px-2 py-0.5 mr-2 rounded-sm bg-[#C9E2B388] text-[#468722] font-sansbold"> |
|
|
|
{item.number} |
|
|
|
{item.number} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<img src={pen} alt="pen" className="mr-4 cursor-pointer" /> |
|
|
|
<img |
|
|
|
|
|
|
|
src="images/CustomToastpen-icon.svg" |
|
|
|
|
|
|
|
alt="pen" |
|
|
|
|
|
|
|
className="mr-4 cursor-pointer" |
|
|
|
|
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
))} |
|
|
|
))} |
|
|
|
@ -54,70 +51,77 @@ CustomToast2.defaultProps = { |
|
|
|
|
|
|
|
|
|
|
|
items: [ |
|
|
|
items: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic1, |
|
|
|
profilePic: "images/CustomToast2profilePic1.svg", |
|
|
|
name: "کامبیز هوشنمند", |
|
|
|
name: "کامبیز هوشنمند", |
|
|
|
enteryData: "1401/02/01", |
|
|
|
enteryData: "1401/02/01", |
|
|
|
idCard: 2980817631, |
|
|
|
idCard: 2980817631, |
|
|
|
number: "B06", |
|
|
|
number: "B06", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic2, |
|
|
|
profilePic: "images/CustomToast2profilePic2.svg", |
|
|
|
name: "پارسا ایرانی", |
|
|
|
name: "پارسا ایرانی", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
idCard: 7000817631, |
|
|
|
idCard: 7000817631, |
|
|
|
number: "B04", |
|
|
|
number: "B04", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic3, |
|
|
|
profilePic: "images/CustomToast2profilePic3.svg", |
|
|
|
name: "کامران مرادی", |
|
|
|
name: "کامران مرادی", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
idCard: 2423817631, |
|
|
|
idCard: 2423817631, |
|
|
|
number: "B02", |
|
|
|
number: "B02", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic4, |
|
|
|
profilePic: "images/CustomToast2profilePic4.svg", |
|
|
|
name: "محمد علوی", |
|
|
|
name: "محمد علوی", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
idCard: 3340817631, |
|
|
|
idCard: 3340817631, |
|
|
|
number: "B01", |
|
|
|
number: "B01", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic5, |
|
|
|
profilePic: "images/CustomToast2profilePic5.svg", |
|
|
|
name: "محمد محمدی", |
|
|
|
name: "محمد محمدی", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
idCard: 3110817631, |
|
|
|
idCard: 3110817631, |
|
|
|
number: "B07", |
|
|
|
number: "B07", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic1, |
|
|
|
profilePic: "images/CustomToast2profilePic1.svg", |
|
|
|
name: "کامبیز هوشنمند", |
|
|
|
name: "کامبیز هوشنمند", |
|
|
|
enteryData: "1401/02/01", |
|
|
|
enteryData: "1401/02/01", |
|
|
|
idCard: 2980817631, |
|
|
|
idCard: 2980817631, |
|
|
|
number: "B06", |
|
|
|
number: "B06", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic2, |
|
|
|
profilePic: "images/CustomToast2profilePic2.svg", |
|
|
|
name: "پارسا ایرانی", |
|
|
|
name: "پارسا ایرانی", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
idCard: 7000817631, |
|
|
|
idCard: 7000817631, |
|
|
|
number: "B04", |
|
|
|
number: "B04", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic3, |
|
|
|
profilePic: "images/CustomToast2profilePic3.svg", |
|
|
|
name: "کامران مرادی", |
|
|
|
name: "کامران مرادی", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
idCard: 2423817631, |
|
|
|
idCard: 2423817631, |
|
|
|
number: "B02", |
|
|
|
number: "B02", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic4, |
|
|
|
profilePic: "images/CustomToast2profilePic4.svg", |
|
|
|
name: "محمد علوی", |
|
|
|
name: "محمد علوی", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
idCard: 3340817631, |
|
|
|
idCard: 3340817631, |
|
|
|
number: "B01", |
|
|
|
number: "B01", |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
profilePic: profilePic5, |
|
|
|
profilePic: "images/CustomToast2profilePic5.svg", |
|
|
|
|
|
|
|
name: "محمد محمدی", |
|
|
|
|
|
|
|
enteryData: "1400/07/19", |
|
|
|
|
|
|
|
idCard: 3110817631, |
|
|
|
|
|
|
|
number: "B07", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
profilePic: "images/CustomToast2profilePic5.svg", |
|
|
|
name: "محمد محمدی", |
|
|
|
name: "محمد محمدی", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
enteryData: "1400/07/19", |
|
|
|
idCard: 3110817631, |
|
|
|
idCard: 3110817631, |
|
|
|
@ -125,19 +129,3 @@ CustomToast2.defaultProps = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// #BCBCBC
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #B9D1F3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #2483E1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #C9E2B3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #0F0543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #2A527A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #468722
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #DAF6E5
|
|
|
|
|
|
|
|
|