How to create a "danger" (red) button in the Microsoft fluentui library? Like one have in other ui frameworks like bootstrap etc.
There are <DefaultButton>
and <PrimaryButton>
but I have not found anything like <DangerButton>
?
Alternatively, how do you specify the style in such a way so that button uses the "danger" color specified by the theme?
There is no "danger" button type in fluent ui, you will have to style it yourself.
See here an example (you also can basically just add a className to the button and style it however you like).