@fto-consult/expo-ui 5.11.6 → 5.11.7
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 +8 -1
package/package.json
CHANGED
package/src/auth/Login.js
CHANGED
|
@@ -213,7 +213,7 @@ export default function LoginComponent(props){
|
|
|
213
213
|
return <Wrapper testID = {testID+"_Wrapper" }{...wrapperProps}>
|
|
214
214
|
<DialogProvider ref={dialogProviderRef}/>
|
|
215
215
|
{sH}
|
|
216
|
-
<Surface style={[styles.container,{backgroundColor}]}
|
|
216
|
+
<Surface {...containerProps} {...defaultObj(loginProps?.containerProps)} style={[styles.container,{backgroundColor},containerProps.style,loginProps?.containerProps?.style]} testID={testID}>
|
|
217
217
|
<Surface elevation = {0} {...contentProps} mediaQueryUpdateNativeProps = {mQueryUpdateProps} {...contentProps} testID={testID+"_Content"} style={[styles.content,updateMediaQueryStyle(),{backgroundColor},contentProps.style]}>
|
|
218
218
|
<FormData
|
|
219
219
|
formName = {formName}
|
|
@@ -347,3 +347,10 @@ LoginComponent.propTypes = {
|
|
|
347
347
|
PropTypes.element,
|
|
348
348
|
]),
|
|
349
349
|
}
|
|
350
|
+
|
|
351
|
+
/*** les loginProps sont les porps à passer au composant FormData
|
|
352
|
+
*/
|
|
353
|
+
const loginPropTypes = {
|
|
354
|
+
containerProps : PropTypes.object, //les props à passer au container
|
|
355
|
+
...FormData.propTypes, //les props type du composant form data
|
|
356
|
+
}
|