Skip to main content

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​

PropertyTypeRequiredDefaultAllowed valuesDescription
variantstringNo'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.