Refactor #3965, Improve build and Added *Base models

This commit is contained in:
mertsincan 2023-07-03 23:20:35 +01:00
parent f4ba20b222
commit 9247620421
134 changed files with 4230 additions and 1729 deletions

View file

@ -103,16 +103,10 @@ const classes = {
'p-button-icon-bottom': props.iconPos === 'bottom' && props.label
}
],
label: 'p-button-label',
badge: ({ props }) => [
'p-badge p-component',
{
'p-badge-no-gutter': props.badge && String(props.badge).length === 1
}
]
label: 'p-button-label'
};
const { load: loadStyle } = useStyle(styles, { id: 'primevue_button_style', manual: true });
const { load: loadStyle } = useStyle(styles, { name: 'button', manual: true });
export default {
name: 'BaseButton',