From b7801f06300ed94a266883f492739443314dfd6c Mon Sep 17 00:00:00 2001 From: Wylie Conlon Date: Thu, 30 May 2019 13:24:58 -0400 Subject: [PATCH] Fix missing typescript for EuiButton color="text" (#1980) --- CHANGELOG.md | 1 + src/components/button/index.d.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ae8aa9b561..69328f44662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Fixed environment setup for running `test-unit` script on Windows ([#1971](https://github.com/elastic/eui/pull/1971)) - Fixed focus on single selection of EuiComboBox ([#1965](https://github.com/elastic/eui/pull/1965)) - Fixed type mismatch between PropType and TypeScript def for `EuiGlobalToastList` toast `title` ([#1978](https://github.com/elastic/eui/pull/1978)) +- Fixed missing Typescript definition for `EuiBUtton`'s `color="text"` option ## [`11.2.1`](https://github.com/elastic/eui/tree/v11.2.1) diff --git a/src/components/button/index.d.ts b/src/components/button/index.d.ts index 0eb1673d9dc..f6be6659177 100644 --- a/src/components/button/index.d.ts +++ b/src/components/button/index.d.ts @@ -23,7 +23,8 @@ declare module '@elastic/eui' { | 'secondary' | 'warning' | 'danger' - | 'ghost'; + | 'ghost' + | 'text'; export type ButtonSize = 's' | 'm' | 'l'; export interface EuiButtonProps {