skip to Main Content

Lower divs not stretching to the full viewport – Html

I am struggling to achieve a demanded effect. I have a following code structure: <div className="font-sans h-screen overflow-auto"> <> <div className="flex justify-center items-center w-full flex-col"> <div className="flex w-full"> <div className="sm:w-full md:bg-lightBlue bg-white pb-6 sm:pb-16 p-4 sm:p-14 sm:pt-2"> <div className="mx-auto px-4">…

VIEW QUESTION

Passing function as props in React Native

How can I pass a setter function (useState) as prop using navigation.navigate? I have it set up as the following: const [firstName, setfirstName] = useState(''); const [dob, setDOB] = useState(''); const [medicalConditions, setMedicalConditions] = useState(''); const [allergies, setAllergies] = useState('');…

VIEW QUESTION
Back To Top
Search