@expo/vector-icons
Advanced tools
Comparing version 10.0.6 to 11.0.0
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "anticon">; | ||
export default _default; |
@@ -1,55 +0,60 @@ | ||
import React from "react"; | ||
import React, { ComponentClass } from "react"; | ||
import { TextProps, TouchableHighlightProps, ViewProps } from "react-native"; | ||
export { DEFAULT_ICON_COLOR, DEFAULT_ICON_SIZE } from "./vendor/react-native-vector-icons/lib/create-icon-set"; | ||
export default function (glyphMap: any, fontName: any, expoAssetId: any, fontStyle?: any): { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: React.ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: React.ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: React.ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: React.ReactInstance; | ||
}; | ||
}; | ||
export interface IconButtonProps<GLYPHS extends string> extends ViewProps, TouchableHighlightProps { | ||
/** | ||
* Size of the icon, can also be passed as fontSize in the style object. | ||
* | ||
* @default 12 | ||
*/ | ||
size?: number; | ||
/** | ||
* Name of the icon to show | ||
* | ||
* See Icon Explorer app | ||
* {@link https://expo.github.io/vector-icons/} | ||
*/ | ||
name: GLYPHS; | ||
/** | ||
* Color of the icon | ||
* | ||
*/ | ||
color?: string; | ||
} | ||
export interface IconProps<GLYPHS extends string> extends TextProps { | ||
/** | ||
* Size of the icon, can also be passed as fontSize in the style object. | ||
* | ||
* @default 12 | ||
*/ | ||
size?: number; | ||
/** | ||
* Name of the icon to show | ||
* | ||
* See Icon Explorer app | ||
* {@link https://expo.github.io/vector-icons/} | ||
*/ | ||
name: GLYPHS; | ||
/** | ||
* Color of the icon | ||
* | ||
*/ | ||
color?: string; | ||
} | ||
export declare type GlyphMap<G extends string> = { | ||
[K in G]: number; | ||
}; | ||
export interface Icon<G extends string, FN extends string> { | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
Button: ComponentClass<IconButtonProps<G>>; | ||
glyphMap: GlyphMap<G>; | ||
getRawGlyphMap: () => GlyphMap<G>; | ||
getFontFamily: () => FN; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
[x: string]: any; | ||
}; | ||
contextType?: React.Context<any> | undefined; | ||
}; | ||
new (props: IconProps<G>): React.Component<IconProps<G>>; | ||
} | ||
export default function <G extends string, FN extends string>(glyphMap: GlyphMap<G>, fontName: FN, expoAssetId: any, fontStyle?: any): Icon<G, FN>; |
@@ -0,4 +1,4 @@ | ||
import * as Font from "expo-font"; | ||
import React from "react"; | ||
import { Text } from "react-native"; | ||
import * as Font from "expo-font"; | ||
import createIconSet from "./vendor/react-native-vector-icons/lib/create-icon-set"; | ||
@@ -5,0 +5,0 @@ import createIconButtonComponent from "./vendor/react-native-vector-icons/lib/icon-button"; |
@@ -1,53 +0,1 @@ | ||
export default function (config: any, expoFontName: any, expoAssetId: any): { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
export default function (config: any, expoFontName: any, expoAssetId: any): import("./createIconSet").Icon<never, any>; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "entypo">; | ||
export default _default; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "evilicons">; | ||
export default _default; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "feather">; | ||
export default _default; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "FontAwesome">; | ||
export default _default; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "foundation">; | ||
export default _default; |
@@ -1,18 +0,19 @@ | ||
export { default as AntDesign } from './AntDesign'; | ||
export { default as Entypo } from './Entypo'; | ||
export { default as EvilIcons } from './EvilIcons'; | ||
export { default as Feather } from './Feather'; | ||
export { default as FontAwesome } from './FontAwesome'; | ||
export { default as FontAwesome5 } from './FontAwesome5'; | ||
export { default as Foundation } from './Foundation'; | ||
export { default as Ionicons } from './Ionicons'; | ||
export { default as MaterialCommunityIcons } from './MaterialCommunityIcons'; | ||
export { default as MaterialIcons } from './MaterialIcons'; | ||
export { default as Octicons } from './Octicons'; | ||
export { default as SimpleLineIcons } from './SimpleLineIcons'; | ||
export { default as Zocial } from './Zocial'; | ||
export { default as createMultiStyleIconSet } from './createMultiStyleIconSet'; | ||
export { default as createIconSet } from './createIconSet'; | ||
export { default as createIconSetFromFontello, } from './createIconSetFromFontello'; | ||
export { default as createIconSetFromIcoMoon, } from './createIconSetFromIcoMoon'; | ||
export { default as createMu } from './createIconSetFromIcoMoon'; | ||
export { default as AntDesign } from "./AntDesign"; | ||
export { default as Entypo } from "./Entypo"; | ||
export { default as EvilIcons } from "./EvilIcons"; | ||
export { default as Feather } from "./Feather"; | ||
export { default as Fontisto } from "./Fontisto"; | ||
export { default as FontAwesome } from "./FontAwesome"; | ||
export { default as FontAwesome5 } from "./FontAwesome5"; | ||
export { default as Foundation } from "./Foundation"; | ||
export { default as Ionicons } from "./Ionicons"; | ||
export { default as MaterialCommunityIcons } from "./MaterialCommunityIcons"; | ||
export { default as MaterialIcons } from "./MaterialIcons"; | ||
export { default as Octicons } from "./Octicons"; | ||
export { default as SimpleLineIcons } from "./SimpleLineIcons"; | ||
export { default as Zocial } from "./Zocial"; | ||
export { default as createMultiStyleIconSet } from "./createMultiStyleIconSet"; | ||
export { default as createIconSet } from "./createIconSet"; | ||
export { default as createIconSetFromFontello } from "./createIconSetFromFontello"; | ||
export { default as createIconSetFromIcoMoon } from "./createIconSetFromIcoMoon"; | ||
export { default as createMu } from "./createIconSetFromIcoMoon"; |
@@ -1,19 +0,20 @@ | ||
export { default as AntDesign } from './AntDesign'; | ||
export { default as Entypo } from './Entypo'; | ||
export { default as EvilIcons } from './EvilIcons'; | ||
export { default as Feather } from './Feather'; | ||
export { default as FontAwesome } from './FontAwesome'; | ||
export { default as FontAwesome5 } from './FontAwesome5'; | ||
export { default as Foundation } from './Foundation'; | ||
export { default as Ionicons } from './Ionicons'; | ||
export { default as MaterialCommunityIcons } from './MaterialCommunityIcons'; | ||
export { default as MaterialIcons } from './MaterialIcons'; | ||
export { default as Octicons } from './Octicons'; | ||
export { default as SimpleLineIcons } from './SimpleLineIcons'; | ||
export { default as Zocial } from './Zocial'; | ||
export { default as createMultiStyleIconSet } from './createMultiStyleIconSet'; | ||
export { default as createIconSet } from './createIconSet'; | ||
export { default as createIconSetFromFontello, } from './createIconSetFromFontello'; | ||
export { default as createIconSetFromIcoMoon, } from './createIconSetFromIcoMoon'; | ||
export { default as createMu } from './createIconSetFromIcoMoon'; | ||
export { default as AntDesign } from "./AntDesign"; | ||
export { default as Entypo } from "./Entypo"; | ||
export { default as EvilIcons } from "./EvilIcons"; | ||
export { default as Feather } from "./Feather"; | ||
export { default as Fontisto } from "./Fontisto"; | ||
export { default as FontAwesome } from "./FontAwesome"; | ||
export { default as FontAwesome5 } from "./FontAwesome5"; | ||
export { default as Foundation } from "./Foundation"; | ||
export { default as Ionicons } from "./Ionicons"; | ||
export { default as MaterialCommunityIcons } from "./MaterialCommunityIcons"; | ||
export { default as MaterialIcons } from "./MaterialIcons"; | ||
export { default as Octicons } from "./Octicons"; | ||
export { default as SimpleLineIcons } from "./SimpleLineIcons"; | ||
export { default as Zocial } from "./Zocial"; | ||
export { default as createMultiStyleIconSet } from "./createMultiStyleIconSet"; | ||
export { default as createIconSet } from "./createIconSet"; | ||
export { default as createIconSetFromFontello } from "./createIconSetFromFontello"; | ||
export { default as createIconSetFromIcoMoon } from "./createIconSetFromIcoMoon"; | ||
export { default as createMu } from "./createIconSetFromIcoMoon"; | ||
//# sourceMappingURL=Icons.js.map |
@@ -30,2 +30,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "Fontisto", { | ||
enumerable: true, | ||
get: function () { | ||
return _Fontisto.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "FontAwesome", { | ||
@@ -124,2 +130,4 @@ enumerable: true, | ||
var _Fontisto = _interopRequireDefault(require("./Fontisto")); | ||
var _FontAwesome = _interopRequireDefault(require("./FontAwesome")); | ||
@@ -126,0 +134,0 @@ |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "ionicons">; | ||
export default _default; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "material-community">; | ||
export default _default; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "material">; | ||
export default _default; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "octicons">; | ||
export default _default; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "simple-line-icons">; | ||
export default _default; |
@@ -1,54 +0,2 @@ | ||
declare const _default: { | ||
new (props: Readonly<{}>): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
new (props: {}, context?: any): { | ||
_mounted: boolean; | ||
_icon?: any; | ||
state: { | ||
fontIsLoaded: boolean; | ||
}; | ||
componentDidMount(): Promise<void>; | ||
componentWillUnmount(): void; | ||
setNativeProps(props: any): void; | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callBack?: (() => void) | undefined): void; | ||
readonly props: Readonly<{}> & Readonly<{ | ||
children?: import("react").ReactNode; | ||
}>; | ||
refs: { | ||
[key: string]: import("react").ReactInstance; | ||
}; | ||
}; | ||
propTypes: any; | ||
defaultProps: any; | ||
Button: any; | ||
glyphMap: any; | ||
getRawGlyphMap: () => any; | ||
getFontFamily: () => any; | ||
loadFont: () => Promise<void>; | ||
font: { | ||
[x: number]: any; | ||
}; | ||
contextType?: import("react").Context<any> | undefined; | ||
}; | ||
declare const _default: import("./createIconSet").Icon<string, "zocial">; | ||
export default _default; |
{ | ||
"name": "@expo/vector-icons", | ||
"sideEffects": false, | ||
"version": "10.0.6", | ||
"version": "11.0.0", | ||
"description": "Built-in support for popular icon fonts and the tooling to create your own Icon components from your font and glyph map. This is a wrapper around react-native-vector-icons to make it compatible with Expo.", | ||
@@ -6,0 +6,0 @@ "main": "build/IconsLazy.js", |
# @expo/vector-icons | ||
This library is a compatibility layer around | ||
[@oblador/react-native-vector-icons](https://github.com/oblador/react-native-vector-icons) | ||
to work with the Expo asset system. If you're using React Native | ||
without Expo, you have no need for this library -- carry on! (or | ||
maybe [check out Expo](https://expo.io/)). | ||
This library is a compatibility layer around [@oblador/react-native-vector-icons](https://github.com/oblador/react-native-vector-icons) to work with the Expo asset system. If you're using React Native without Expo, you have no need for this library -- carry on! (or maybe [check out Expo](https://expo.io/)). | ||
> 👀: this library does *not* provide access to react-native-vector-icon's `Icon.getImageSource()` function for generating images from icons at runtime ([for context on why, see this issue](https://github.com/expo/vector-icons/issues/26)). If you find yourself needing an icon in the form of an image rather than text, you should generate that image yourself and bundle it with your app. | ||
## Resources | ||
- [@expo/vector-icons directory](https://expo.github.io/vector-icons/) - a searchable list of all included icons. | ||
- [Font Awesome 5 icons directory](https://fontawesome.com/icons) - all Font Awesome 5 icons (including the Pro icons) | ||
![Screenshot of website](https://raw.githubusercontent.com/expo/vector-icons/master/website-screenshot.png) | ||
@@ -13,0 +12,0 @@ - [Expo documentation](https://docs.expo.io/) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2815614
166
20126
30