@moderntribe/wme-ui
Version:
Components and hooks to build the best UX/UI admin wizards
42 lines • 1.17 kB
TypeScript
import type React from 'react';
import type { ReactNode } from 'react';
import { BoxProps } from '@mui/material';
export interface WizardFooterProps extends BoxProps {
backText?: string;
onBack?: () => void;
nextText?: string;
nextStartIcon?: ReactNode;
nextEndIcon?: ReactNode;
onNext?: () => void;
skipText?: string;
onSkip?: () => void;
activeStep: number;
steps: Array<{
id: number;
hideBack?: boolean;
hideSkip?: boolean;
hideNext?: boolean;
heading?: string;
label?: string;
step?: string;
text?: string;
hidePagination?: boolean;
screen?: ReactNode;
disableNext?: boolean;
disableAll?: boolean;
disable?: boolean;
completed?: boolean;
}>;
onClickStep?: (step: any) => void;
disableNext?: boolean;
isLoading?: boolean;
loadingText?: string;
save?: () => void;
hideSkip?: boolean;
hideFooter: boolean;
disableAll?: boolean;
isLastStep?: boolean;
}
declare const WizardFooter: React.FC<WizardFooterProps>;
export default WizardFooter;
//# sourceMappingURL=wizard-footer.d.ts.map