update App.js, Input.js, src/components/DateRangePicker/index.js and src/components/FormInput/index.js

master
mahdi 3 years ago
parent a4e98efd2e
commit 6c83949338
  1. 8
      src/components/FormInput/index.js

@ -11,7 +11,7 @@ const FormInput = ({ items }) => {
const [selectedInput, setSelectedInput] = useState(false); const [selectedInput, setSelectedInput] = useState(false);
return ( return (
<div className="mx-72 mt-20 flex flex-row items-center justify-between divide-x-2 divide-[#F3F3F3] divide-x-reverse bg-white p-4 py-7 border border-gray-200 rounded-sm shadow-sm"> <div className="h-96 mx-72 mt-20 flex flex-row items-center justify-between divide-x-2 divide-[#F3F3F3] divide-x-reverse bg-white p-4 py-7 border border-gray-200 rounded-sm shadow-sm">
<div className="flex-grow flex-1 flex flex-col gap-y-4 px-4"> <div className="flex-grow flex-1 flex flex-col gap-y-4 px-4">
<Input <Input
register={register("firstName")} register={register("firstName")}
@ -79,14 +79,14 @@ const FormInput = ({ items }) => {
className={``} className={``}
/> />
</div> </div>
<div className="flex-grow flex-1 flex flex-col px-4"> <div className="flex-grow flex-1 flex flex-col px-4 justify-between">
<Input {/* <Input
register={register("lastName")} register={register("lastName")}
label="تاریخ ورود" label="تاریخ ورود"
type="text" type="text"
borderClassname={`border-transparent `} borderClassname={`border-transparent `}
className={``} className={``}
/> /> */}
<DateRangePicker /> <DateRangePicker />
</div> </div>
</div> </div>

Loading…
Cancel
Save