diff --git a/CHANGELOG.md b/CHANGELOG.md index f6c7090a43e..89c84846981 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `26.0.1`. +- Exported `EuiCardProps` and `EuiCheckableCardProps` types ([#3640](https://github.com/elastic/eui/pull/3640)) ## [`26.0.1`](https://github.com/elastic/eui/tree/v26.0.1) diff --git a/src/components/card/card.tsx b/src/components/card/card.tsx index 51aa0a45840..4a3354e966e 100644 --- a/src/components/card/card.tsx +++ b/src/components/card/card.tsx @@ -66,7 +66,7 @@ const displayToClassNameMap: { [display in CardDisplay]: string } = { export const DISPLAYS = keysOf(displayToClassNameMap); -type EuiCardProps = Omit & { +export type EuiCardProps = Omit & { /** * Card's are required to have at least a title and description */ diff --git a/src/components/card/index.ts b/src/components/card/index.ts index 572aea4042f..b85e0d3cc63 100644 --- a/src/components/card/index.ts +++ b/src/components/card/index.ts @@ -17,5 +17,5 @@ * under the License. */ -export { EuiCard } from './card'; -export { EuiCheckableCard } from './checkable_card'; +export { EuiCard, EuiCardProps } from './card'; +export { EuiCheckableCard, EuiCheckableCardProps } from './checkable_card';