Skip to content

Commit 10750e9

Browse files
committed
feat: remove icons
1 parent d1bdaa1 commit 10750e9

22 files changed

+26
-22
lines changed

assets/fonts/AntDesign.ttf

-68.7 KB
Binary file not shown.

assets/fonts/Entypo.ttf

-64.6 KB
Binary file not shown.

assets/fonts/EvilIcons.ttf

-13.1 KB
Binary file not shown.

assets/fonts/Feather.ttf

-54.9 KB
Binary file not shown.

assets/fonts/FontAwesome.ttf

-162 KB
Binary file not shown.

assets/fonts/FontAwesome5_Brands.ttf

-131 KB
Binary file not shown.

assets/fonts/FontAwesome5_Regular.ttf

-32.9 KB
Binary file not shown.

assets/fonts/FontAwesome5_Solid.ttf

-198 KB
Binary file not shown.

assets/fonts/FontAwesome6_Brands.ttf

-185 KB
Binary file not shown.

assets/fonts/FontAwesome6_Regular.ttf

-61.9 KB
Binary file not shown.

assets/fonts/FontAwesome6_Solid.ttf

-385 KB
Binary file not shown.

assets/fonts/Fontisto.ttf

-306 KB
Binary file not shown.

assets/fonts/Foundation.ttf

-55.6 KB
Binary file not shown.

assets/fonts/Ionicons.ttf

-432 KB
Binary file not shown.
-1.09 MB
Binary file not shown.

assets/fonts/MaterialIcons.ttf

-348 KB
Binary file not shown.

assets/fonts/Octicons.ttf

-48.2 KB
Binary file not shown.

assets/fonts/SimpleLineIcons.ttf

-52.8 KB
Binary file not shown.

assets/fonts/Zocial.ttf

-25.2 KB
Binary file not shown.

example/src/App.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { View } from 'react-native';
33
import Button from '../../src/components/Button';
44
import Section from '../../src/components/Section';
5-
import Text from '../../src/components/Text';
5+
import AntDesign from 'react-native-vector-icons/AntDesign';
66

77
const App = () => {
88
return (
@@ -21,7 +21,7 @@ const App = () => {
2121
onPress={() => console.log('dada')}
2222
/>
2323
<Button
24-
icon={<Text text="a" />}
24+
icon={<AntDesign name="home" size={20} color={'coral'} />}
2525
iconExtra
2626
title="Button Default"
2727
onPress={() => console.log('dada')}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"@release-it/conventional-changelog": "^5.0.0",
6767
"@types/jest": "^29.5.5",
6868
"@types/react": "^18.2.44",
69+
"@types/react-native-vector-icons": "^6.4.18",
6970
"commitlint": "^17.0.2",
7071
"del-cli": "^5.1.0",
7172
"eslint": "^8.51.0",
@@ -170,7 +171,6 @@
170171
"jsSrcsDir": "src"
171172
},
172173
"dependencies": {
173-
"@react-native-community/checkbox": "^0.5.17",
174-
"react-native-vector-icons": "^10.1.0"
174+
"@react-native-community/checkbox": "^0.5.17"
175175
}
176176
}

yarn.lock

+22-18
Original file line numberDiff line numberDiff line change
@@ -1705,6 +1705,7 @@ __metadata:
17051705
"@release-it/conventional-changelog": ^5.0.0
17061706
"@types/jest": ^29.5.5
17071707
"@types/react": ^18.2.44
1708+
"@types/react-native-vector-icons": ^6.4.18
17081709
commitlint: ^17.0.2
17091710
del-cli: ^5.1.0
17101711
eslint: ^8.51.0
@@ -1715,7 +1716,6 @@ __metadata:
17151716
react: 18.2.0
17161717
react-native: 0.74.1
17171718
react-native-builder-bob: ^0.20.0
1718-
react-native-vector-icons: ^10.1.0
17191719
release-it: ^15.0.0
17201720
turbo: ^1.10.7
17211721
typescript: ^5.2.2
@@ -3349,6 +3349,25 @@ __metadata:
33493349
languageName: node
33503350
linkType: hard
33513351

3352+
"@types/react-native-vector-icons@npm:^6.4.18":
3353+
version: 6.4.18
3354+
resolution: "@types/react-native-vector-icons@npm:6.4.18"
3355+
dependencies:
3356+
"@types/react": "*"
3357+
"@types/react-native": ^0.70
3358+
checksum: 1ef458cb5e7a37f41eb400e3153940b1b152e4df76a7c06c7a47c712dbfe46e14b9999f04dde1bd074f338f850e161c6c925174ddea33386b74f8112c940065b
3359+
languageName: node
3360+
linkType: hard
3361+
3362+
"@types/react-native@npm:^0.70":
3363+
version: 0.70.19
3364+
resolution: "@types/react-native@npm:0.70.19"
3365+
dependencies:
3366+
"@types/react": "*"
3367+
checksum: 79b504fa56340631079e7c20ea0d9412ec14147b76d0ce189f4403936f529ef1e6fd031383afab117846c5ae039123bcf3afc948bae4432269c6780282726f71
3368+
languageName: node
3369+
linkType: hard
3370+
33523371
"@types/react@npm:^18.2.44":
33533372
version: 18.3.2
33543373
resolution: "@types/react@npm:18.3.2"
@@ -10717,7 +10736,7 @@ __metadata:
1071710736
languageName: node
1071810737
linkType: hard
1071910738

10720-
"prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
10739+
"prop-types@npm:^15.8.1":
1072110740
version: 15.8.1
1072210741
resolution: "prop-types@npm:15.8.1"
1072310742
dependencies:
@@ -10927,21 +10946,6 @@ __metadata:
1092710946
languageName: node
1092810947
linkType: hard
1092910948

10930-
"react-native-vector-icons@npm:^10.1.0":
10931-
version: 10.1.0
10932-
resolution: "react-native-vector-icons@npm:10.1.0"
10933-
dependencies:
10934-
prop-types: ^15.7.2
10935-
yargs: ^16.1.1
10936-
bin:
10937-
fa-upgrade.sh: bin/fa-upgrade.sh
10938-
fa5-upgrade: bin/fa5-upgrade.sh
10939-
fa6-upgrade: bin/fa6-upgrade.sh
10940-
generate-icon: bin/generate-icon.js
10941-
checksum: c1e1d7c7ccc110e99caaed4d57324d5331dfa91817183350d2fd4df16d2302e7363da1f7a2b87011da3936b77aac3a7bf8ee11844dd8786b8b7dbc6553494866
10942-
languageName: node
10943-
linkType: hard
10944-
1094510949
"react-native@npm:0.74.1":
1094610950
version: 0.74.1
1094710951
resolution: "react-native@npm:0.74.1"
@@ -13430,7 +13434,7 @@ __metadata:
1343013434
languageName: node
1343113435
linkType: hard
1343213436

13433-
"yargs@npm:^16.1.1, yargs@npm:^16.2.0":
13437+
"yargs@npm:^16.2.0":
1343413438
version: 16.2.0
1343513439
resolution: "yargs@npm:16.2.0"
1343613440
dependencies:

0 commit comments

Comments
 (0)