onfido-sdk-ui
Version:
JavaScript SDK view layer for Onfido identity verification
15 lines (14 loc) • 453 B
TypeScript
import type { ResourceLocation } from './Resources';
export declare enum FontFormat {
TTF = "ttf",// TrueType -> fully supported in Android, iOS and modern web browsers
OTF = "otf",// OpenType -> fully supported in iOS and modern web browsers, Android API 26+
WOFF2 = "woff2"
}
export interface FontSource {
location: ResourceLocation;
fontFormat: FontFormat;
}
export type SdkFont = {
name: string;
source: FontSource[];
};