diff --git a/api-generator/components/button.js b/api-generator/components/button.js index 5e83c6cf4..486dbfcce 100644 --- a/api-generator/components/button.js +++ b/api-generator/components/button.js @@ -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', diff --git a/components/lib/button/Button.d.ts b/components/lib/button/Button.d.ts index 768e3ff28..e323b3706 100755 --- a/components/lib/button/Button.d.ts +++ b/components/lib/button/Button.d.ts @@ -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