react-native-firework-sdk
    Preparing search index...

    Interface AndroidFontInfo

    Only supported on Android.

    interface AndroidFontInfo {
        isCustom?: boolean;
        typefaceName?: string;
    }
    Index

    Properties

    isCustom?: boolean

    Whether to use a custom font. Defaults to false.

    typefaceName?: string

    The Android system typeface name, such as "DEFAULT", "DEFAULT_BOLD", "SANS_SERIF", "SERIF", "MONOSPACE". Or custom font name, such as: "fonts/kaushanscript_regular.ttf". (You need to set the isCustom=true and put the font file in the "assets" directory: app/src/main/assets/fonts/kaushanscript_regular.ttf)