MessageButton

Styled layout for button inside Message components.

Basic usage

Message.Button automatically inherits the semantic type (e.g. warning, info, success) from its parent Message via React context, ensuring consistent colors and icon treatment. Use the main prop to highlight a primary action, and omit it for secondary actions.

This guide is based on version: 2.0.0