/** * Footer for the Step component used inside Wizard * Represents buttons for navigating through the steps of the wizard * Works with Wizardcontent for easy access to the state and methods of the wizard * You need to connect this component inside the Step where navigation is required * * @author: Denis Makarov * @date: 2020-02-12 */ import * as React from 'react'; import { WizardContextProps } from '../../../type/WizardTypes'; export interface IWizardFooterProps { allowPrev?: boolean; allowNext?: boolean; allowSubmit?: boolean; isSubmitStep?: boolean; leftElement?: React.ReactNode; rightElement?: React.ReactNode; beforePrevStep?: () => void; beforeNextStep?: () => void; beforeSubmit?: () => void; isWaitingNext?: boolean; isWaitingPrev?: boolean; prevText: string; nextText: string; submitText: string; nextButtonTitle?: string; } interface IDefaultProps { allowPrev: boolean; allowNext: boolean; allowSubmit: boolean; } export declare class Footer extends React.Component { static defaultProps: IDefaultProps; onNextStep(wizardProps: WizardContextProps): void; onPrevStep(wizardProps: WizardContextProps): void; onSubmit(wizardProps: WizardContextProps): void; renderDefaultLeftElement(wizardProps: WizardContextProps): JSX.Element; renderDefaultRightElement(wizardProps: WizardContextProps, isSubmitStep: boolean): JSX.Element; renderLeftElement(wizardProps: WizardContextProps): JSX.Element; renderRightElement(wizardProps: WizardContextProps): JSX.Element; render(): JSX.Element; } export {};