primevue-mirror/components/lib/inputmask/style/InputMaskStyle.js

18 lines
459 B
JavaScript

import BaseStyle from 'primevue/base/style';
const classes = {
root: ({ props, instance }) => [
'p-inputmask p-inputtext p-component',
{
'p-filled': instance.filled,
'p-invalid': props.invalid,
'p-variant-filled': props.variant ? props.variant === 'filled' : instance.$primevue.config.inputStyle === 'filled'
}
]
};
export default BaseStyle.extend({
name: 'inputmask',
classes
});