interface PopupButton {
    attributes?: {};
    className?: string;
    icon?: string;
    label: string;
    onClick: PopupButtonClickCallback;
}

Properties

attributes?: {}

Attributs HTML supplémentaires (clé/valeur).

className?: string

Classe(s) CSS à appliquer au bouton.

icon?: string

Classe d'icône à ajouter (ex: "fr-icon-delete-line").

label: string

Attribut title du bouton.

Fonction appelée au clic sur le bouton.