primevue-mirror/components/lib/iconfield/style/IconFieldStyle.js

17 lines
347 B
JavaScript
Raw Normal View History

import BaseStyle from 'primevue/base/style';
const classes = {
root: ({ props }) => [
'p-icon-field',
{
'p-icon-field-right': props.iconPosition === 'right',
'p-icon-field-left': props.iconPosition === 'left'
}
]
};
export default BaseStyle.extend({
name: 'iconfield',
classes
});