secullum-react-native-ui 4.7.5 → 4.8.0

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.
@@ -13,6 +13,7 @@ export declare type AppShellProperties = MenuProperties & {
13
13
  renderUserData?: () => React.ReactNode;
14
14
  rightButton?: HeaderButton;
15
15
  headerStyle?: StyleProp<TextStyle>;
16
+ alwaysDesktop?: boolean;
16
17
  children?: React.ReactNode;
17
18
  };
18
19
  export declare class AppShell extends React.Component<AppShellProperties> {
@@ -74,7 +74,9 @@ class AppShell extends React.Component {
74
74
  };
75
75
  }
76
76
  render() {
77
- return (React.createElement(DimensionsMonitor_1.DimensionsMonitor, null, ({ isDesktop }) => isDesktop ? this.renderDesktop() : this.renderMobile()));
77
+ return (React.createElement(DimensionsMonitor_1.DimensionsMonitor, null, ({ isDesktop }) => isDesktop || this.props.alwaysDesktop
78
+ ? this.renderDesktop()
79
+ : this.renderMobile()));
78
80
  }
79
81
  }
80
82
  exports.AppShell = AppShell;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secullum-react-native-ui",
3
- "version": "4.7.5",
3
+ "version": "4.8.0",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "files": [