@fto-consult/expo-ui 2.33.0 → 2.33.1

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/index.js +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -17,6 +17,9 @@ const isWeb = Platform.OS === "web";
17
17
  export default function ExpoUIApp (options){
18
18
  options = options && typeof options =='object' && !Array.isArray(options)? options : {};
19
19
  appConfig.current = options.config;
20
+ if(typeof options.initConfig ==='function'){
21
+ options.initConfig({appConfig});
22
+ }
20
23
  const App = require('./src/App').default(options);
21
24
  if (false) {
22
25
  const root = createRoot(document.getElementById("root") || document.getElementById("main"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "2.33.0",
3
+ "version": "2.33.1",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {