@computools/react-native-template-controller 1.0.3 → 1.0.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/README.md +2 -2
- package/package.json +1 -1
- package/template/declarations.d.ts +17 -0
- package/template/package.json +1 -1
package/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[](https://www.npmjs.com/package/@computools/react-native-template-controller)
|
4
4
|
|
5
|
-
<img src="https://lh3.googleusercontent.com/
|
5
|
+
<img src="https://lh3.googleusercontent.com/u/0/drive-viewer/AITFw-zZgWKIBDs_5sx3rXNAs2BB_K-TGkAuV_OM3KB1uIV25jHDCyDZ7CK97qT08FpkNDr7VJ4Xt_5vtl4AYTMCzBIGTufD7Q=w3456-h1870">
|
6
6
|
|
7
7
|
### Usage:
|
8
8
|
|
@@ -26,4 +26,4 @@ See the below table to find out which version of the template to use.
|
|
26
26
|
| 0.72 | 1.0.0 |
|
27
27
|
| 0.71.11 | 0.0.7 |
|
28
28
|
|
29
|
-
[preview]: <https://lh3.googleusercontent.com/
|
29
|
+
[preview]: <https://lh3.googleusercontent.com/drive-viewer/AITFw-xMm_zr1uROMqH_kSWo6Bq7chcS8633lRlvaPSbO8rtogdOogg847CTOM-7r_Lfbrkv8UtHlaf5nW_FzOtkABlY9p5slQ=w3456-h1926>
|
package/package.json
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
declare module '*.png' {
|
2
|
+
import {ImageSourcePropType} from 'react-native';
|
3
|
+
const value: ImageSourcePropType;
|
4
|
+
export default value;
|
5
|
+
}
|
6
|
+
|
7
|
+
declare module '*.jpg' {
|
8
|
+
import {ImageSourcePropType} from 'react-native';
|
9
|
+
const value: ImageSourcePropType;
|
10
|
+
export default value;
|
11
|
+
}
|
12
|
+
|
13
|
+
declare module '*.jpeg' {
|
14
|
+
import {ImageSourcePropType} from 'react-native';
|
15
|
+
const value: ImageSourcePropType;
|
16
|
+
export default value;
|
17
|
+
}
|
package/template/package.json
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
"@babel/core": "^7.20.0",
|
34
34
|
"@babel/preset-env": "^7.20.0",
|
35
35
|
"@babel/runtime": "^7.20.0",
|
36
|
-
"@computools/eslint-config-react-native": "1.
|
36
|
+
"@computools/eslint-config-react-native": "1.1.1",
|
37
37
|
"@react-native/eslint-config": "0.72.2",
|
38
38
|
"@react-native/metro-config": "0.72.11",
|
39
39
|
"@tsconfig/react-native": "^3.0.0",
|