Skip to content

Commit

Permalink
Fix primefaces#7165: Badge/Tag typescript add secondary and contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Sep 12, 2024
1 parent 513af5e commit 107e1b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/lib/badge/badge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface BadgeProps extends Omit<React.DetailedHTMLProps<React.HTMLAttri
* Severity type of the badge.
* @defaultValue null
*/
severity?: 'success' | 'info' | 'warning' | 'danger' | null | undefined;
severity?: 'success' | 'info' | 'warning' | 'danger' | 'secondary' | 'contrast' | null | undefined;
/**
* Size of the badge, valid options are "large" and "xlarge".
* @defaultValue null
Expand Down
2 changes: 1 addition & 1 deletion components/lib/tag/tag.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface TagProps extends Omit<React.DetailedHTMLProps<React.HTMLAttribu
* Severity type of the tag.
* @defaultValue null
*/
severity?: 'success' | 'info' | 'warning' | 'danger' | null | undefined;
severity?: 'success' | 'info' | 'warning' | 'danger' | 'secondary' | 'contrast' | null | undefined;
/**
* Whether the corners of the tag are rounded.
* @defaultValue false
Expand Down

0 comments on commit 107e1b1

Please sign in to comment.