Add missing types for contrast button

pull/5182/head
Cagatay Civici 2024-01-30 15:06:21 +03:00
parent 37200b4b43
commit 3b72308226
2 changed files with 2 additions and 2 deletions

View File

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

View File

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