Anchorage API reference
    Preparing search index...
    interface ButtonProps {
        disabled?: boolean;
        label: string;
        onClick?: () => void;
        pressed?: boolean;
        type?: "button" | "submit";
        variant?: ButtonVariant;
    }
    Index

    Properties

    disabled?: boolean
    label: string
    onClick?: () => void
    pressed?: boolean

    Conveys selection to assistive tech for toggle-like buttons.

    type?: "button" | "submit"
    variant?: ButtonVariant