UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

28 lines (25 loc) 791 B
import { style } from '@primeuix/styles/message'; import BaseStyle from '@primevue/core/base/style'; var classes = { root: function root(_ref) { var props = _ref.props; return ['p-message p-component p-message-' + props.severity, { 'p-message-outlined': props.variant === 'outlined', 'p-message-simple': props.variant === 'simple', 'p-message-sm': props.size === 'small', 'p-message-lg': props.size === 'large' }]; }, content: 'p-message-content', icon: 'p-message-icon', text: 'p-message-text', closeButton: 'p-message-close-button', closeIcon: 'p-message-close-icon' }; var MessageStyle = BaseStyle.extend({ name: 'message', style: style, classes: classes }); export { MessageStyle as default }; //# sourceMappingURL=index.mjs.map