Skip to content

Commit

Permalink
EuiStepNumber added exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo committed May 13, 2019
1 parent 229adde commit e182a39
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/steps/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { FunctionComponent, ReactNode, HTMLAttributes, MouseEventHandler } from 'react';
import { CommonProps, Omit } from '../common';
import {
EuiStepNumberProps as StepNumberProps,
EuiStepNumber as StepNumber,
} from './step_number';

declare module '@elastic/eui' {
export type EuiStepStatus = 'complete' | 'incomplete' | 'warning' | 'danger' | 'disabled'
Expand Down Expand Up @@ -72,5 +76,7 @@ declare module '@elastic/eui' {
export const EuiStepsHorizontal: FunctionComponent<
CommonProps & HTMLAttributes<HTMLDivElement> & EuiStepsHorizontalProps
>;
}

export const EuiStepNumber: typeof StepNumber;
export interface EuiStepNumberProps extends StepNumberProps {}
}

0 comments on commit e182a39

Please sign in to comment.