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
27 lines (24 loc) • 784 B
JavaScript
import { style } from '@primeuix/styles/textarea';
import BaseStyle from '@primevue/core/base/style';
var classes = {
root: function root(_ref) {
var instance = _ref.instance,
props = _ref.props;
return ['p-textarea p-component', {
'p-filled': instance.$filled,
'p-textarea-resizable ': props.autoResize,
'p-textarea-sm p-inputfield-sm': props.size === 'small',
'p-textarea-lg p-inputfield-lg': props.size === 'large',
'p-invalid': instance.$invalid,
'p-variant-filled': instance.$variant === 'filled',
'p-textarea-fluid': instance.$fluid
}];
}
};
var TextareaStyle = BaseStyle.extend({
name: 'textarea',
style: style,
classes: classes
});
export { TextareaStyle as default };
//# sourceMappingURL=index.mjs.map