UNPKG

605 BTypeScriptView Raw
1import * as React from 'react';
2import { StandardProps } from '..';
3import { PaperProps } from '../Paper';
4
5export type Orientation = 'horizontal' | 'vertical';
6
7export interface StepperProps extends StandardProps<PaperProps, StepperClasskey> {
8 activeStep?: number;
9 alternativeLabel?: boolean;
10 children: React.ReactNode;
11 connector?: React.ReactElement | React.ReactNode;
12 nonLinear?: boolean;
13 orientation?: Orientation;
14}
15
16export type StepperClasskey = 'root' | 'horizontal' | 'vertical' | 'alternativeLabel';
17
18declare const Stepper: React.ComponentType<StepperProps>;
19
20export default Stepper;