rednode API - v0.1.0
    Preparing search index...

    Interface ButtonProps

    Properties of ui.button.

    interface ButtonProps {
        disabled?: boolean;
        label: string;
        sound?: string;
        variant?: "danger" | "primary" | "ghost";
    }
    Index
    disabled?: boolean
    label: string
    sound?: string

    A game sound event played on press. The UI kit's default is used when not set.

    variant?: "danger" | "primary" | "ghost"

    "ghost" for a quieter button, "danger" for a destructive one.