@umituz/react-native-design-system 4.23.71 → 4.23.73
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": "@umituz/react-native-design-system",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.73",
|
|
4
4
|
"description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive, safe area, exception, infinite scroll, UUID, image, timezone, offline, onboarding, and loading utilities",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Catches React errors and provides fallback UI
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import React, {
|
|
6
|
+
import React, { ReactNode } from 'react';
|
|
7
7
|
import { View, StyleSheet, TouchableOpacity } from 'react-native';
|
|
8
8
|
import { AtomicText } from '../../../atoms';
|
|
9
9
|
import { exceptionService } from '../../infrastructure/services/ExceptionService';
|
|
@@ -20,7 +20,7 @@ interface State {
|
|
|
20
20
|
error: Error | null;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export class ErrorBoundary extends Component<Props, State> {
|
|
23
|
+
export class ErrorBoundary extends React.Component<Props, State> {
|
|
24
24
|
constructor(props: Props) {
|
|
25
25
|
super(props);
|
|
26
26
|
this.state = {
|