ymx-aliyun-pns
    正在准备搜索索引...

    接口 ButtonConfig

    登录按钮配置(完整映射 SDK AuthUiConfig.loginBtn*)

    interface ButtonConfig {
        backgroundColor?: string;
        backgroundImage?: string;
        borderColor?: string;
        borderRadius?: RadiusValue;
        borderWidth?: string | number;
        color?: string;
        disableBackgroundColor?: string;
        disableBackgroundImage?: string;
        disableBorderColor?: string;
        disableBorderWidth?: string | number;
        disableFontColor?: string;
        fontSize?: number;
        height?: string | number;
        margin?: string | number | EdgeValue;
        padding?: string | number | EdgeValue;
        text?: string;
        width?: string | number;
    }
    索引

    属性

    backgroundColor?: string

    背景色(已选中)

    backgroundImage?: string

    背景图(URL,已选中态)

    borderColor?: string

    边框颜色

    borderRadius?: RadiusValue

    圆角(单值或四角对象)

    borderWidth?: string | number

    边框宽度

    color?: string

    文字颜色

    disableBackgroundColor?: string

    背景色(未选中)

    disableBackgroundImage?: string

    背景图(URL,未选中态)

    disableBorderColor?: string

    边框颜色(未选中)

    disableBorderWidth?: string | number

    边框宽度(未选中)

    disableFontColor?: string

    文字颜色(未选中)

    fontSize?: number

    字体大小

    height?: string | number

    按钮高度

    margin?: string | number | EdgeValue

    按钮外边距(如 { left: 24, right: 24 } 控制横向留白)

    padding?: string | number | EdgeValue

    按钮内边距

    text?: string

    登录按钮文字

    width?: string | number

    按钮宽度