Refactor #5175 - IconField component added

This commit is contained in:
tugcekucukoglu 2024-01-30 11:02:22 +03:00
parent 355bbebe7e
commit 0f2aa807bd
7 changed files with 221 additions and 0 deletions

View file

@ -0,0 +1,21 @@
<script>
import BaseComponent from 'primevue/basecomponent';
import IconFieldStyle from 'primevue/iconfield/style';
export default {
name: 'BaseIconField',
extends: BaseComponent,
props: {
iconPosition: {
type: String,
default: 'right'
}
},
style: IconFieldStyle,
provide() {
return {
$parentInstance: this
};
}
};
</script>