Skip to content

Commit

Permalink
feat: add tab icons
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaup committed Jan 19, 2025
1 parent c55ea6b commit b4a9e0d
Show file tree
Hide file tree
Showing 9 changed files with 737 additions and 15 deletions.
1 change: 1 addition & 0 deletions assets/svgs/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/svgs/user.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,49 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- RNSVG (15.11.1):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- RNSVG/common (= 15.11.1)
- Yoga
- RNSVG/common (15.11.1):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- SocketRocket (0.7.1)
- Yoga (0.0.0)

Expand Down Expand Up @@ -1690,6 +1733,7 @@ DEPENDENCIES:
- ReactCodegen (from `build/generated/ios`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- RNScreens (from `../node_modules/react-native-screens`)
- RNSVG (from `../node_modules/react-native-svg`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)

SPEC REPOS:
Expand Down Expand Up @@ -1826,6 +1870,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon"
RNScreens:
:path: "../node_modules/react-native-screens"
RNSVG:
:path: "../node_modules/react-native-svg"
Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"

Expand Down Expand Up @@ -1894,6 +1940,7 @@ SPEC CHECKSUMS:
ReactCodegen: 0a0eef9c8cd84c932ae1868832086c6441811e84
ReactCommon: 3c1c8c6d777103c0e60e37c6c5f08e828e2a77c9
RNScreens: 4c7d5710e955dcf72c14a546e29744f9e591370b
RNSVG: c50d29abf38abbf48ebfc50b6258f81099aeabae
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: 2a5ae8f7db3c675ff5a781fb5d99c5f7a5d2fc11

Expand Down
14 changes: 12 additions & 2 deletions metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ const { getDefaultConfig, mergeConfig } = require("@react-native/metro-config");
*
* @type {import('metro-config').MetroConfig}
*/
const config = {};
const defaultConfig = getDefaultConfig(__dirname);

module.exports = mergeConfig(getDefaultConfig(__dirname), config);
const config = {
transformer: {
babelTransformerPath: require.resolve("react-native-svg-transformer"),
},
resolver: {
assetExts: defaultConfig.resolver.assetExts.filter((ext) => ext !== "svg"),
sourceExts: [...defaultConfig.resolver.sourceExts, "svg"],
},
};

module.exports = mergeConfig(defaultConfig, config);
Loading

0 comments on commit b4a9e0d

Please sign in to comment.