Teleforge API Reference - v0.1.0
    Preparing search index...

    Interface UseMainButtonReturn

    interface UseMainButtonReturn {
        color: string;
        disable: () => void;
        enable: () => void;
        hide: () => void;
        hideProgress: () => void;
        isActive: boolean;
        isProgressVisible: boolean;
        isVisible: boolean;
        onClick: (callback: () => void) => () => void;
        params: MainButtonParams;
        setParams: (params: MainButtonParams) => void;
        setText: (text: string) => void;
        show: () => void;
        showProgress: (leaveActive?: boolean) => void;
        text: string;
        textColor: string;
    }
    Index

    Properties

    color: string
    disable: () => void
    enable: () => void
    hide: () => void
    hideProgress: () => void
    isActive: boolean
    isProgressVisible: boolean
    isVisible: boolean
    onClick: (callback: () => void) => () => void
    setParams: (params: MainButtonParams) => void
    setText: (text: string) => void
    show: () => void
    showProgress: (leaveActive?: boolean) => void
    text: string
    textColor: string