Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
with:
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn lint --max-warnings 0
2 changes: 1 addition & 1 deletion src/AntDesign.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/AntDesign.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/Entypo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/Entypo.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/EvilIcons.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/EvilIcons.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/Feather.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/Feather.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/FontAwesome.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/FontAwesome.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/FontAwesome5.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import { createFA5iconSet } from './createIconSetFromFontAwesome5';
import glyphMap from './vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json';
Expand Down
2 changes: 1 addition & 1 deletion src/FontAwesome6.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import { createFA6iconSet } from './createIconSetFromFontAwesome6';
import glyphMap from './vendor/react-native-vector-icons/glyphmaps/FontAwesome6Free.json';
Expand Down
2 changes: 1 addition & 1 deletion src/Fontisto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Feather icon set component.
* Usage: <Feather name="icon-name" size={20} color="#4F8EF7" />
*/
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/Fontisto.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/Foundation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/Foundation.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/Icons.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

export { default as AntDesign } from './AntDesign';
export { default as Entypo } from './Entypo';
Expand Down
2 changes: 1 addition & 1 deletion src/Ionicons.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/Ionicons.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/MaterialCommunityIcons.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/MaterialIcons.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/Octicons.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/Octicons.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/SimpleLineIcons.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/Zocial.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import createIconSet from './createIconSet';
import font from './vendor/react-native-vector-icons/Fonts/Zocial.ttf';
Expand Down
2 changes: 1 addition & 1 deletion src/createMultiStyleIconSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function createMultiStyleIconSet(styles: FontStyles, optionsInput
const family = options.fallbackFamily(name);

if (styleNames.indexOf(family) === -1) {
return options.defaultStyle;
return iconSets[options.defaultStyle];
}

return iconSets[family];
Expand Down