@fto-consult/expo-ui 1.2.9 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/auth/Login.js +2 -2
package/package.json
CHANGED
package/src/auth/Login.js
CHANGED
|
@@ -85,7 +85,7 @@ export default function LoginComponent(props){
|
|
|
85
85
|
},1000)
|
|
86
86
|
}
|
|
87
87
|
},[withPortal])
|
|
88
|
-
const {header,children,initialize,contentTop,data:loginData,canGoToNext,keyboardEvents,onSuccess:onLoginSuccess,canSubmit:canSubmitForm,onStepChange,...loginProps} = defaultObj(getProps({
|
|
88
|
+
const {header,children,initialize,autoClosePreloader,contentTop,data:loginData,canGoToNext,keyboardEvents,onSuccess:onLoginSuccess,canSubmit:canSubmitForm,onStepChange,...loginProps} = defaultObj(getProps({
|
|
89
89
|
...state,
|
|
90
90
|
setState,
|
|
91
91
|
state,
|
|
@@ -100,11 +100,11 @@ export default function LoginComponent(props){
|
|
|
100
100
|
previousButtonRef,
|
|
101
101
|
}));
|
|
102
102
|
React.useEffect(()=>{
|
|
103
|
+
Preloader.closeAll();
|
|
103
104
|
/*** pour initializer les cordonnées du composant login */
|
|
104
105
|
if(typeof initialize =='function'){
|
|
105
106
|
initialize();
|
|
106
107
|
}
|
|
107
|
-
Preloader.closeAll();
|
|
108
108
|
},[]);
|
|
109
109
|
const prevStep = React.usePrevious(state.step);
|
|
110
110
|
React.useEffect(()=>{
|