Skip to content

Commit

Permalink
Update ButtonIconColor type to match all available options (#1783)
Browse files Browse the repository at this point in the history
* Update ButtonIconColor type to match all available options

* changelog
  • Loading branch information
chandlerprall authored Apr 1, 2019
1 parent e99ffaa commit 8c06fe9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

- Converted `EuiFormErrorText` to TS ([#1772](https://github.com/elastic/eui/pull/1772))

**Bug fixes**

Update ButtonIconColor type to provide all available options ([#1783](https://github.com/elastic/eui/pull/1783))

## [`9.7.1`](https://github.com/elastic/eui/tree/v9.7.1)

**Bug fixes**
Expand Down
7 changes: 5 additions & 2 deletions src/components/button/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,14 @@ declare module '@elastic/eui' {
*/

export type ButtonIconColor =
| 'primary'
| 'danger'
| 'disabled'
| 'ghost'
| 'text';
| 'primary'
| 'subdued'
| 'success'
| 'text'
| 'warning';

export interface EuiButtonIconProps {
iconType?: IconType;
Expand Down

0 comments on commit 8c06fe9

Please sign in to comment.