@moxijs/ui - v0.3.5
    Preparing search index...

    Interface UITabsProps

    Font configuration props for UI components.

    // Canvas text (default)
    { fontFamily: 'Arial', fontSize: 16 }

    // MSDF text for crisp scaling
    { fontFamily: 'PixelOperator8', fontType: 'msdf', fontSize: 16 }

    // Bitmap font
    { fontFamily: 'MyBitmapFont', fontType: 'bitmap', fontSize: 16 }
    interface UITabsProps {
        activeKey?: string;
        activeTabColor?: number;
        activeTextColor?: number;
        defaultActiveKey?: string;
        fontFamily?: string;
        fontSize?: number;
        fontType?: FontType;
        fontWeight?: number | "bold" | "normal";
        hashPrefix?: string;
        height?: number;
        inactiveTabColor?: number;
        items: TabItem[];
        onChange?: (activeKey: string) => void;
        tabBarBackgroundColor?: number;
        tabBarHeight?: number;
        tabPosition?: "top" | "bottom";
        textColor?: number;
        type?: "line" | "card";
        width?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    activeKey?: string
    activeTabColor?: number
    activeTextColor?: number
    defaultActiveKey?: string
    fontFamily?: string

    Font family name. For canvas: Any CSS font family (e.g., 'Arial', 'Helvetica') For MSDF: Must match the loaded MSDF font's family name For bitmap: Must match the loaded bitmap font's family name

    fontSize?: number

    Font size in pixels.

    fontType?: FontType

    Font rendering type.

    'canvas'
    
    fontWeight?: number | "bold" | "normal"

    Font weight. Only applies to canvas fonts.

    hashPrefix?: string
    height?: number
    inactiveTabColor?: number
    items: TabItem[]
    onChange?: (activeKey: string) => void
    tabBarBackgroundColor?: number
    tabBarHeight?: number
    tabPosition?: "top" | "bottom"
    textColor?: number
    type?: "line" | "card"
    width?: number