MessageButton
import { MessageButton } from '@enmovil/ui-design-system';
A button labelled "Show Message" that displays a fixed "Success!" message when clicked. Its style is set with variant.
Properties
| Property | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
variant | string | No | 'default' | 'primary', 'default', 'secondary' | Added to the button as a CSS class (default when absent, primary or secondary). The library ships no styles for these classes, so it has no visible effect. |
Events
This component has no events.
Children
MessageButton does not accept children.