From 08617797bc683e4473af2b1fa1d4a35330baedcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20St=C3=BCrmer?= Date: Thu, 15 Mar 2018 12:47:58 +0100 Subject: [PATCH] Make `` props more specific --- src/components/progress/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/progress/index.d.ts b/src/components/progress/index.d.ts index a80244de69ca..53037e1b3f73 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;