blessed-components - v1.20.0
    Preparing search index...

    Interface RenderButtonOptions

    Options accepted by renderButton.

    interface RenderButtonOptions {
        disabled?: boolean;
        focused?: boolean;
        label: string;
        variant?: ButtonVariant;
    }
    Index

    Properties

    disabled?: boolean

    Whether activation is unavailable.

    focused?: boolean

    Whether the button currently owns terminal focus.

    label: string

    Non-empty, single-line action name.

    variant?: ButtonVariant

    Visual structure.

    'bracketed'