Add missing types for contrast button
parent
37200b4b43
commit
3b72308226
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue