Make loadFont file optional

This commit is contained in:
Tim Wang
2017-08-15 23:30:06 +08:00
parent d4f42ab007
commit eb413c219e

View File

@@ -191,7 +191,7 @@ export class Icon extends React.Component<IconProps, any> {
size?: number
): Promise<ImageSource>;
static loadFont(
file: string
file?: string
): Promise<void>;
}