Flarum (2.x)
    Preparing search index...
    interface IConfirmModalAttrs {
        confirmText: Children;
        danger?: boolean;
        details?: Children;
        message: Children;
        onconfirm: () => void;
        title: Children;
    }

    Hierarchy (View Summary)

    Index
    confirmText: Children

    The confirm button's label: the action itself, never just "OK".

    danger?: boolean

    Styles the confirm button as destructive.

    details?: Children

    Anything worth listing under the message, e.g. the requirements that will change.

    message: Children

    What will happen, and what it means, in a sentence or two.

    onconfirm: () => void
    title: Children