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

    Interface MainButtonProps

    interface MainButtonProps {
        className?: string;
        destructive?: boolean;
        disabled?: boolean;
        haptic?: "light" | "medium" | "heavy" | "none";
        loading?: boolean;
        onClick: () => void | Promise<void>;
        progress?: number;
        style?: CSSProperties;
        text: string;
        visible?: boolean;
    }
    Index

    Properties

    className?: string
    destructive?: boolean
    disabled?: boolean
    haptic?: "light" | "medium" | "heavy" | "none"
    loading?: boolean
    onClick: () => void | Promise<void>
    progress?: number
    style?: CSSProperties
    text: string
    visible?: boolean