diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c48fc23830..3177f3ddb70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # [`master`](https://github.com/elastic/eui/tree/master) +- Make `` TypeScript types more specific ([#518](https://github.com/elastic/eui/pull/518)) + **Bug fixes** - Made `EuiIconTip` screen reader accessible ([#534](https://github.com/elastic/eui/pull/534)) diff --git a/src/components/progress/index.d.ts b/src/components/progress/index.d.ts index a80244de69c..53037e1b3f7 100644 --- a/src/components/progress/index.d.ts +++ b/src/components/progress/index.d.ts @@ -1,6 +1,6 @@ /// -import { SFC, HTMLAttributes } from 'react'; +import { SFC, ProgressHTMLAttributes } from 'react'; declare module '@elastic/eui' { /** @@ -18,7 +18,7 @@ declare module '@elastic/eui' { export type EuiProgressPosition = 'fixed' | 'absolute' | 'static'; export type EuiProgressProps = CommonProps & - HTMLAttributes & { + ProgressHTMLAttributes & { size?: EuiProgressSize; color?: EuiProgressColor; position?: EuiProgressPosition;