expo-font
Version:
Load fonts at runtime and use them in React Native components.
8 lines • 374 B
JavaScript
import { NativeModule, registerWebModule, UnavailabilityError } from 'expo-modules-core';
class ExpoFontUtils extends NativeModule {
async renderToImageAsync(glyphs, options) {
throw new UnavailabilityError('expo-font', 'renderToImageAsync');
}
}
export default registerWebModule(ExpoFontUtils, 'ExpoFontUtils');
//# sourceMappingURL=ExpoFontUtils.web.js.map