Fixed #4863 - Button: new badgeSeverity property

This commit is contained in:
tugcekucukoglu 2023-11-22 13:43:05 +03:00
parent f12576ce8e
commit 70efc14382
3 changed files with 9 additions and 1 deletions

View file

@ -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