parent
a372083e77
commit
5027ead5eb
7 changed files with 34 additions and 45 deletions
@ -1,33 +0,0 @@ |
||||
// it has style inside index.scss ---> // Start FormInput Component && end FormInput Component
|
||||
|
||||
import React from "react"; |
||||
import CustomSelectBox from "../CustomSelectBox"; |
||||
|
||||
const FormInput = ({ items }) => { |
||||
return ( |
||||
<div className="w-full flex flex-row items-center justify-between mx-auto rounded-sm shadow-sm divide-x-2 divide-gray-400 divide-x-reverse "> |
||||
<div className="flex-grow flex-1 flex flex-col gap-y-4 px-4"> |
||||
<CustomSelectBox /> |
||||
</div> |
||||
<div className="flex-grow flex-1 flex flex-col gap-y-4 px-4"> |
||||
<CustomSelectBox /> |
||||
</div> |
||||
</div> |
||||
); |
||||
}; |
||||
|
||||
export default FormInput; |
||||
|
||||
FormInput.defaultProps = { |
||||
items: [ |
||||
{ |
||||
title: "mahdi", |
||||
}, |
||||
{ |
||||
title: "mahdi", |
||||
}, |
||||
{ |
||||
title: "mahdi", |
||||
}, |
||||
], |
||||
}; |
@ -1,7 +0,0 @@ |
||||
import React from "react"; |
||||
|
||||
const Popup = () => { |
||||
return <div>Popup</div>; |
||||
}; |
||||
|
||||
export default Popup; |
@ -0,0 +1,23 @@ |
||||
import React from "react"; |
||||
import CustomSelectBox from "../CustomSelectBox"; |
||||
|
||||
const Tavabee = () => { |
||||
return ( |
||||
<div className="w-full flex flex-row items-center justify-between mx-auto rounded-sm shadow-sm divide-x-2 divide-[#E3E3E3] divide-x-reverse"> |
||||
<div className="flex-grow flex-1 flex flex-col pl-5"> |
||||
<p className="mb-4 mt-2 font-bold text-[#00253A] text-sm">تابع شروع</p> |
||||
<div className="flex flex-col gap-y-7"> |
||||
<CustomSelectBox /> <CustomSelectBox /> |
||||
</div> |
||||
</div> |
||||
<div className="flex-grow flex-1 flex flex-col pr-5"> |
||||
<p className="mb-4 mt-2 font-bold text-[#00253A] text-sm">تابع شروع</p> |
||||
<div className="flex flex-col gap-y-7"> |
||||
<CustomSelectBox /> <CustomSelectBox /> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
); |
||||
}; |
||||
|
||||
export default Tavabee; |
Loading…
Reference in new issue