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

18 lines
384 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': props.variant === 'filled'
}
]
};
export default BaseStyle.extend({
name: 'inputmask',
classes
});