mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4863 - Button: new badgeSeverity property
This commit is contained in:
parent
f12576ce8e
commit
70efc14382
3 changed files with 9 additions and 1 deletions
4
components/lib/button/Button.d.ts
vendored
4
components/lib/button/Button.d.ts
vendored
|
@ -116,6 +116,10 @@ export interface ButtonProps extends ButtonHTMLAttributes {
|
|||
* Style class of the badge.
|
||||
*/
|
||||
badgeClass?: string | undefined;
|
||||
/**
|
||||
* Severity type of the badge.
|
||||
*/
|
||||
badgeSeverity?: 'info' | 'success' | 'warning' | 'danger' | string | null | undefined;
|
||||
/**
|
||||
* Whether the button is in loading state.
|
||||
* @defaultValue false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue