MessageButton
Styled layout for button inside Message components.
STATUS: This component is in development.
- The prop-interface can change drastically for each update
- Semantic Versioning will not be honored (only patch-updates to the package)
- Consult the design team for usage
- As always: Your feedback is welcomed!
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.