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
26 lines (23 loc) • 703 B
JavaScript
import { style } from '@primeuix/styles/inlinemessage';
import BaseStyle from '@primevue/core/base/style';
var classes = {
root: function root(_ref) {
var props = _ref.props,
instance = _ref.instance;
return ['p-inlinemessage p-component p-inlinemessage-' + props.severity, {
'p-inlinemessage-icon-only': !instance.$slots["default"]
}];
},
icon: function icon(_ref2) {
var props = _ref2.props;
return ['p-inlinemessage-icon', props.icon];
},
text: 'p-inlinemessage-text'
};
var InlineMessageStyle = BaseStyle.extend({
name: 'inlinemessage',
style: style,
classes: classes
});
export { InlineMessageStyle as default };
//# sourceMappingURL=index.mjs.map