Class type updates

pull/6275/head^2
tugcekucukoglu 2024-10-01 15:02:29 +03:00
parent 83b9378d11
commit d8f1f6d269
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ export default {
default: 'left' default: 'left'
}, },
iconClass: { iconClass: {
type: String, type: [String, Object],
default: null default: null
}, },
badge: { badge: {
@ -27,7 +27,7 @@ export default {
default: null default: null
}, },
badgeClass: { badgeClass: {
type: String, type: [String, Object],
default: null default: null
}, },
badgeSeverity: { badgeSeverity: {

View File

@ -107,7 +107,7 @@ export interface ButtonProps extends ButtonHTMLAttributes {
/** /**
* Style class of the icon. * Style class of the icon.
*/ */
iconClass?: string | undefined; iconClass?: string | object | undefined;
/** /**
* Value of the badge. * Value of the badge.
*/ */
@ -115,7 +115,7 @@ export interface ButtonProps extends ButtonHTMLAttributes {
/** /**
* Style class of the badge. * Style class of the badge.
*/ */
badgeClass?: string | undefined; badgeClass?: string | object | undefined;
/** /**
* Severity type of the badge. * Severity type of the badge.
*/ */