Skip to content

Commit e8bcce0

Browse files
authored
chore: Add 'contrast' style option to ButtonProps (#6839)
1 parent 8625e49 commit e8bcce0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/lib/button/button.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ export interface ButtonProps extends Omit<React.DetailedHTMLProps<React.ButtonHT
125125
*/
126126
link?: boolean | undefined;
127127
/**
128-
* Defines the style of the button, valid values are "secondary", "success", "info", "warning", "danger", "help".
128+
* Defines the style of the button, valid values are "secondary", "success", "info", "warning", "danger", "help", "contrast".
129129
*/
130-
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | undefined;
130+
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast' | undefined;
131131
/**
132132
* Defines the size of the button, valid values are "small" and "large".
133133
*/

0 commit comments

Comments
 (0)