Skip to content

Commit

Permalink
Make <EuiProgress> props more specific (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort authored Mar 19, 2018
1 parent d83eca0 commit 37bc86c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# [`master`](https://github.com/elastic/eui/tree/master)

- Make `<EuiProgress>` 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))
Expand Down
4 changes: 2 additions & 2 deletions src/components/progress/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference path="../common.d.ts" />

import { SFC, HTMLAttributes } from 'react';
import { SFC, ProgressHTMLAttributes } from 'react';

declare module '@elastic/eui' {
/**
Expand All @@ -18,7 +18,7 @@ declare module '@elastic/eui' {
export type EuiProgressPosition = 'fixed' | 'absolute' | 'static';

export type EuiProgressProps = CommonProps &
HTMLAttributes<HTMLProgressElement> & {
ProgressHTMLAttributes<HTMLProgressElement> & {
size?: EuiProgressSize;
color?: EuiProgressColor;
position?: EuiProgressPosition;
Expand Down

0 comments on commit 37bc86c

Please sign in to comment.