MCPcopy
hub / github.com/oblador/react-native-vector-icons / getImageForFontSync

Function getImageForFontSync

packages/get-image/src/index.ts:116–124  ·  view source on GitHub ↗
(
  firstArg: string,
  secondArg: string | ImageOptions,
  fontSize?: number,
  color?: number,
)

Source from the content-addressed store, hash-verified

114 color: number,
115): ImageResult;
116export function getImageForFontSync(
117 firstArg: string,
118 secondArg: string | ImageOptions,
119 fontSize?: number,
120 color?: number,
121): ImageResult {
122 const { glyph, nativeOptions } = resolveArgs(firstArg, secondArg, fontSize, color);
123 return VectorIcons.getImageForFontSync(glyph, nativeOptions);
124}

Callers 1

Home.tsxFile · 0.90

Calls 2

resolveArgsFunction · 0.85
getImageForFontSyncMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…