update App.js and src/components/FormInput/index.js

master
mahdi andalib 2 years ago
parent 39abd39735
commit 50bc806207
  1. 4
      src/App.js
  2. 2
      src/components/FormInput/index.js

@ -258,9 +258,9 @@ function App() {
{/* <BoxNextToEachOther /> */} {/* <BoxNextToEachOther /> */}
<ContactUsInfoCard /> {/* <ContactUsInfoCard /> */}
<RoomCardInfo /> {/* <RoomCardInfo /> */}
{/* ----------------------------$$$ start---------------------------- */} {/* ----------------------------$$$ start---------------------------- */}
{/* <DateRangePicker /> */} {/* <DateRangePicker /> */}

@ -6,7 +6,7 @@ import Input from "./Input";
const FormInput = () => { const FormInput = () => {
const { register, getValues } = useForm(); const { register, getValues } = useForm();
return ( return (
<div className="max-w-[1000px] p-20 mx-auto mt-20 bg-white rounded-sm shadow-sm"> <div className="mx-72 mt-20 rounded-sm shadow-sm">
<Input <Input
register={register("firstName")} register={register("firstName")}
// defaultValue={info?.firstName} // defaultValue={info?.firstName}

Loading…
Cancel
Save