32 lines
741 B
TypeScript
32 lines
741 B
TypeScript
import * as React from 'react';
|
|
import { StandardProps } from '..';
|
|
import { PaperProps, PaperClassKey } from '../Paper';
|
|
import { ButtonProps } from '../Button';
|
|
|
|
export interface MobileStepperProps extends StandardProps<
|
|
PaperProps,
|
|
MobileStepperClassKey
|
|
> {
|
|
activeStep?: number;
|
|
backButton: React.ReactElement<any>;
|
|
nextButton: React.ReactElement<any>;
|
|
position?: 'bottom' | 'top' | 'static';
|
|
steps: number;
|
|
type?: 'text' | 'dots' | 'progress';
|
|
}
|
|
|
|
export type MobileStepperClassKey =
|
|
| PaperClassKey
|
|
| 'positionBottom'
|
|
| 'positionTop'
|
|
| 'positionStatic'
|
|
| 'dots'
|
|
| 'dot'
|
|
| 'dotActive'
|
|
| 'progress'
|
|
;
|
|
|
|
declare const MobileStepper: React.ComponentType<MobileStepperProps>;
|
|
|
|
export default MobileStepper;
|