Skip to content

Commit

Permalink
Add missing types for contrast button
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jan 30, 2024
1 parent 37200b4 commit 3b72308
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api-generator/components/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const ButtonProps = [
name: 'severity',
type: 'string',
default: 'null',
description: 'Defines the style of the button, valid values are "secondary", "success", "info", "warning", "help", "danger".'
description: 'Defines the style of the button, valid values are "secondary", "success", "info", "warning", "help", "danger", "contrast".'
},
{
name: 'raised',
Expand Down
2 changes: 1 addition & 1 deletion components/lib/button/Button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export interface ButtonProps extends ButtonHTMLAttributes {
/**
* Defines the style of the button.
*/
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | string | undefined;
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | 'contrast' | string | undefined;
/**
* Add a shadow to indicate elevation.
* @defaultValue false
Expand Down

0 comments on commit 3b72308

Please sign in to comment.