Front: Remove RNP dependency

This commit is contained in:
Arthi-chaud
2022-10-07 10:02:20 +01:00
parent f8715beb79
commit 5f76cb6b54
3 changed files with 3 additions and 9 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
import { useTheme } from "native-base"; import { useTheme } from "native-base";
import { ActivityIndicator } from "react-native-paper"; import { Spinner } from "native-base";
const LoadingComponent = () => { const LoadingComponent = () => {
const theme = useTheme(); const theme = useTheme();
return <ActivityIndicator color={theme.colors.primary[500]}/> return <Spinner color={theme.colors.primary[500]}/>
} }
export default LoadingComponent; export default LoadingComponent;
-1
View File
@@ -34,7 +34,6 @@
"react-dom": "17.0.2", "react-dom": "17.0.2",
"react-i18next": "^11.18.3", "react-i18next": "^11.18.3",
"react-native": "0.68.2", "react-native": "0.68.2",
"react-native-paper": "^4.12.4",
"react-native-safe-area-context": "4.2.4", "react-native-safe-area-context": "4.2.4",
"react-native-screens": "~3.11.1", "react-native-screens": "~3.11.1",
"react-native-super-grid": "^4.6.1", "react-native-super-grid": "^4.6.1",
+1 -6
View File
@@ -4475,8 +4475,6 @@ dom-helpers@^5.0.0:
"@babel/runtime" "^7.8.7" "@babel/runtime" "^7.8.7"
csstype "^3.0.2" csstype "^3.0.2"
<<<<<<< HEAD
=======
dom-serializer@^1.0.1: dom-serializer@^1.0.1:
version "1.4.1" version "1.4.1"
resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30"
@@ -4491,7 +4489,6 @@ domelementtype@^2.0.1, domelementtype@^2.2.0:
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d"
integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==
>>>>>>> 6a31062336e1345961b0767376155d3f81c4550a
domexception@^2.0.1: domexception@^2.0.1:
version "2.0.1" version "2.0.1"
resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304" resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304"
@@ -8242,14 +8239,13 @@ react-native-screens@~3.11.1:
react-freeze "^1.0.0" react-freeze "^1.0.0"
warn-once "^0.1.0" warn-once "^0.1.0"
<<<<<<< HEAD
react-native-super-grid@^4.6.1: react-native-super-grid@^4.6.1:
version "4.6.1" version "4.6.1"
resolved "https://registry.yarnpkg.com/react-native-super-grid/-/react-native-super-grid-4.6.1.tgz#620a59e98375dd5138d3e6618991d09e93cbe318" resolved "https://registry.yarnpkg.com/react-native-super-grid/-/react-native-super-grid-4.6.1.tgz#620a59e98375dd5138d3e6618991d09e93cbe318"
integrity sha512-YEKN//TT3DZlbz+1m6YqnclYS+T/Qn2ELrZ0fjoXzB2U/AQoBflvtw0VsJkcPkf3RGWLbD1GKbKN6Hz9fPCVfg== integrity sha512-YEKN//TT3DZlbz+1m6YqnclYS+T/Qn2ELrZ0fjoXzB2U/AQoBflvtw0VsJkcPkf3RGWLbD1GKbKN6Hz9fPCVfg==
dependencies: dependencies:
prop-types "^15.6.0" prop-types "^15.6.0"
=======
react-native-svg@12.3.0: react-native-svg@12.3.0:
version "12.3.0" version "12.3.0"
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-12.3.0.tgz#40f657c5d1ee366df23f3ec8dae76fd276b86248" resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-12.3.0.tgz#40f657c5d1ee366df23f3ec8dae76fd276b86248"
@@ -8257,7 +8253,6 @@ react-native-svg@12.3.0:
dependencies: dependencies:
css-select "^4.2.1" css-select "^4.2.1"
css-tree "^1.0.0-alpha.39" css-tree "^1.0.0-alpha.39"
>>>>>>> 6a31062336e1345961b0767376155d3f81c4550a
react-native-testing-library@^6.0.0: react-native-testing-library@^6.0.0:
version "6.0.0" version "6.0.0"