Add Inputs

This commit is contained in:
Abhay Raizada
2024-03-21 23:12:11 +05:30
parent 3aae1f5c5e
commit db290cd5dc
9 changed files with 1083 additions and 14 deletions

View File

@@ -24,10 +24,10 @@ function App(): React.JSX.Element {
console.log('inside useeffect');
const fetchForm = async () => {
if (!form) {
console.log('fetchiiiing forrmmm!!!');
let form = await getFormTemplate(
'eb3df1f89653475f0bcbd22da35f8d2f126db8a68a88a7abedc53535c76c39b4',
)
console.log("Form isss", form)
setForm(form);
}
};
@@ -43,7 +43,7 @@ function App(): React.JSX.Element {
<ScrollView
contentInsetAdjustmentBehavior="automatic"
style={backgroundStyle}>
<PrescriptionCreator />
<PrescriptionCreator form={form}/>
</ScrollView>
</SafeAreaView>
);