Skip to content

Commit

Permalink
Make <EuiProgress> props more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort committed Mar 15, 2018
1 parent 67f5691 commit 40cb3f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `0.0.27`.
- Make `<EuiProgress>` TypeScript types more specific ([#518](https://github.com/elastic/eui/pull/518))

# [`0.0.27`](https://github.com/elastic/eui/tree/v0.0.27)

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 40cb3f5

Please sign in to comment.