mirror of
https://github.com/mudabbir-ahmad/Media-Aggregation-and-Sorting-System.git
synced 2026-10-08 03:40:20 +00:00
feat: add SVG icons and implement AlbumPickerModal and CenteredState components
This commit is contained in:
1 parent
126f545c44
commit
f855dab467
30 files changed
+1302
-10
No files matched your search
@@ -0,0 +1,12 @@
|
||||
const { getDefaultConfig } = require('expo/metro-config');
|
||||
|
||||
const config = getDefaultConfig(__dirname);
|
||||
|
||||
// Ensure SVGs are transformed into React components (Expo-compatible transformer).
|
||||
config.transformer.babelTransformerPath = require.resolve('react-native-svg-transformer/expo');
|
||||
config.resolver.assetExts = config.resolver.assetExts.filter((ext) => ext !== 'svg');
|
||||
if (!config.resolver.sourceExts.includes('svg')) {
|
||||
config.resolver.sourceExts.push('svg');
|
||||
}
|
||||
|
||||
module.exports = config;
|
||||
Reference in new issue
Block a user