mg-library 1.0.336 → 1.0.337

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.
Files changed (2) hide show
  1. package/blocks.js +2 -2
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -17,7 +17,7 @@ import * as mgLoginLib from './login.js';
17
17
  export function MGLogin(props) {
18
18
 
19
19
  const { control, handleSubmit, formState: { errors } } = useForm({
20
- defaultValues: { userName: '', password: '' },
20
+ defaultValues: props.defaultValues,
21
21
  });
22
22
 
23
23
  const insets = useSafeAreaInsets();
@@ -60,7 +60,7 @@ export function MGLogin(props) {
60
60
  <Image
61
61
  source={require('./assets/clubonline.png')}
62
62
  style={{ width: 300, height: 150 }} />
63
- <Text category='h6'>{mgFunctionsLib.i18nString('appDescription', props.language)}</Text>
63
+ <Text category='h6'>{props.appDescription}</Text>
64
64
  <Text category='p2'>{props.appVersion}</Text>
65
65
  </View>
66
66
  <View>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.336",
3
+ "version": "1.0.337",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {