File tree Expand file tree Collapse file tree 4 files changed +30
-3
lines changed Expand file tree Collapse file tree 4 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import {
14
14
StackScreenProps ,
15
15
} from '@react-navigation/stack' ;
16
16
import { NavigationContainer , ParamListBase } from '@react-navigation/native' ;
17
- import Entypo from '@expo/vector-icons/Entypo' ;
18
17
import {
19
18
GestureHandlerRootView ,
20
19
RectButton ,
@@ -77,6 +76,8 @@ import EmptyExample from './src/empty/EmptyExample';
77
76
import RectButtonBorders from './src/release_tests/rectButton' ;
78
77
import { ListWithHeader } from './src/ListWithHeader' ;
79
78
79
+ import { Icon } from '@swmansion/icons' ;
80
+
80
81
interface Example {
81
82
name : string ;
82
83
component : React . ComponentType ;
@@ -326,7 +327,7 @@ function MainScreenItem({ name, onPressItem }: MainScreenItemProps) {
326
327
return (
327
328
< RectButton style = { [ styles . button ] } onPress = { ( ) => onPressItem ( name ) } >
328
329
< Text > { name } </ Text >
329
- < Entypo name = "chevron-right" size = { 24 } color = "#bbb" />
330
+ < Icon name = "chevron-small -right" size = { 24 } color = "#bbb" />
330
331
</ RectButton >
331
332
) ;
332
333
}
Original file line number Diff line number Diff line change 26
26
},
27
27
"web" : {
28
28
"favicon" : " ./assets/favicon.png"
29
- }
29
+ },
30
+ "plugins" : [
31
+ [
32
+ " expo-font" ,
33
+ {
34
+ "fonts" : [
35
+ " ./node_modules/@swmansion/icons/fonts/broken/swm-icons-broken.ttf" ,
36
+ " ./node_modules/@swmansion/icons/fonts/outline/swm-icons-outline.ttf" ,
37
+ " ./node_modules/@swmansion/icons/fonts/curved/swm-icons-curved.ttf"
38
+ ]
39
+ }
40
+ ]
41
+ ]
30
42
}
31
43
}
Original file line number Diff line number Diff line change 23
23
"@react-navigation/elements" : " ^1.3.7" ,
24
24
"@react-navigation/native" : " ^6.1.17" ,
25
25
"@react-navigation/stack" : " ^6.3.29" ,
26
+ "@swmansion/icons" : " ^0.0.1" ,
26
27
"expo" : " ^51.0.0" ,
28
+ "expo-font" : " ~12.0.10" ,
27
29
"hoist-non-react-statics" : " ^3.3.2" ,
28
30
"invariant" : " ^2.2.4" ,
29
31
"patch-package" : " ^6.5.1" ,
Original file line number Diff line number Diff line change 2024
2024
dependencies :
2025
2025
" @sinonjs/commons" " ^3.0.0"
2026
2026
2027
+ " @swmansion/icons@^0.0.1 " :
2028
+ version "0.0.1"
2029
+ resolved "https://registry.yarnpkg.com/@swmansion/icons/-/icons-0.0.1.tgz#8171b857be9885e1565138bf358b073f6585ca43"
2030
+ integrity sha512-MjqBDtxzMRa++iPT0RkBPPOV+wIGvzVMGKQTw9thk8GKt+UAhT9NKkfK4BhiKKvKnKkCHfYCvdidNlN+jpHLrQ==
2031
+
2027
2032
" @tsconfig/react-native@^3.0.5 " :
2028
2033
version "3.0.5"
2029
2034
resolved "https://registry.yarnpkg.com/@tsconfig/react-native/-/react-native-3.0.5.tgz#c4971b1eca2e8cdf7b0d25f40193a782039c1abd"
@@ -4039,6 +4044,13 @@ expo-file-system@~17.0.1:
4039
4044
resolved "https://registry.yarnpkg.com/expo-file-system/-/expo-file-system-17.0.1.tgz#b9f8af8c1c06ec71d96fd7a0d2567fa9e1c88f15"
4040
4045
integrity sha512-dYpnZJqTGj6HCYJyXAgpFkQWsiCH3HY1ek2cFZVHFoEc5tLz9gmdEgTF6nFHurvmvfmXqxi7a5CXyVm0aFYJBw==
4041
4046
4047
+ expo-font@~12.0.10 :
4048
+ version "12.0.10"
4049
+ resolved "https://registry.yarnpkg.com/expo-font/-/expo-font-12.0.10.tgz#62deaf1f46159d7839f01305f44079268781b1db"
4050
+ integrity sha512-Q1i2NuYri3jy32zdnBaHHCya1wH1yMAsI+3CCmj9zlQzlhsS9Bdwcj2W3c5eU5FvH2hsNQy4O+O1NnM6o/pDaQ==
4051
+ dependencies :
4052
+ fontfaceobserver "^2.1.0"
4053
+
4042
4054
expo-font@~12.0.4 :
4043
4055
version "12.0.4"
4044
4056
resolved "https://registry.yarnpkg.com/expo-font/-/expo-font-12.0.4.tgz#c3d9b7fc152286c1e2beae80f97b94ca4622db34"
You can’t perform that action at this time.
0 commit comments