first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

31
node_modules/expo-symbols/build/materialImageSource.js generated vendored Normal file
View File

@@ -0,0 +1,31 @@
import { renderToImageAsync, loadAsync } from 'expo-font';
import { androidSymbolToString } from './android';
import { getFont } from './utils';
/**
* Renders a Material Symbol to an image source.
*
* @platform android
*/
export async function unstable_getMaterialSymbolSourceAsync(symbol, size, color) {
if (!symbol)
return null;
if (typeof renderToImageAsync !== 'function') {
console.warn(`Font.renderToImageAsync is not available. Please update expo-font.`);
return null;
}
const fontChar = androidSymbolToString(symbol);
if (!fontChar)
return null;
const font = getFont('regular');
await loadAsync({
[font.name]: font.font,
});
const image = await renderToImageAsync(fontChar, {
fontFamily: font.name,
size,
color,
lineHeight: size,
});
return image;
}
//# sourceMappingURL=materialImageSource.js.map