A button's role, which a caller sets as its data-variant attribute and themes style: primary for the one action a
form or dialog exists for, danger for actions that destroy or end something. Without one, a button is a plain
action. The styled Button passes the attribute through unchanged, so options that set it, such as useConfirm's
confirmVariant, take this type.
A button's role, which a caller sets as its
data-variantattribute and themes style:primaryfor the one action a form or dialog exists for,dangerfor actions that destroy or end something. Without one, a button is a plain action. The styledButtonpasses the attribute through unchanged, so options that set it, such asuseConfirm'sconfirmVariant, take this type.