@fto-consult/expo-ui 6.73.5 → 6.73.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.73.5",
3
+ "version": "6.73.6",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -26,7 +26,7 @@ const FabLayoutComponent = React.forwardRef((p,ref)=>{
26
26
  const addText = defaultStr(table.newElementLabel,"Nouveau");
27
27
  const tableName = defaultStr(table.table,table.tableName);
28
28
  if(!table || !icon || !text || !Auth.isTableDataAllowed({table:tableName,action:'create'})) return;
29
- let fabProps = typeof table.fabProps ==='function'? table.fabProps({tableName}) : defaultObj(table.fabProps);;
29
+ let fabProps = typeof table.fabProps ==='function'? table.fabProps({tableName,table:tableName}) : defaultObj(table.fabProps);;
30
30
  if(fabProps === false) return;
31
31
  fabProps = defaultObj(fabProps);
32
32
  const cSuffix = theme.Colors.getSuffix(index);
@@ -175,5 +175,5 @@ MainScreenScreenWithoutAuthContainer.propTypes = {
175
175
  contentContainerStyle : StyleProp,
176
176
  withFab : PropTypes.bool,
177
177
  withDrawer : PropTypes.bool,//si l'on doit afficher un drawer dans le contenu
178
- fabProps : PropTypes.object,
178
+ //fabProps : PropTypes.object,
179
179
  }