mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactor #3965, Improve build and Added *Base models
This commit is contained in:
parent
f4ba20b222
commit
9247620421
134 changed files with 4230 additions and 1729 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue