expo-font
Version:
Load fonts at runtime and use them in React Native components.
16 lines (13 loc) • 309 B
text/typescript
import type { RenderToImageResult } from '../src/FontUtils.types';
export type RenderToImageOptions = any;
export async function renderToImageAsync(
glyphs: string,
options: RenderToImageOptions
): Promise<RenderToImageResult> {
return {
width: 0,
height: 0,
scale: 1,
uri: '',
};
}