UNPKG

formik-pf

Version:

A UI library that provides formik bindings with PF components.

12 lines (11 loc) 713 B
import * as React from 'react'; import { WizardProps } from '@patternfly/react-core/deprecated'; import { FormikWizardStep } from './FormikWizard'; type PickedWizardProps = Pick<WizardProps, 'startAtStep' | 'footer' | 'nextButtonText' | 'backButtonText' | 'cancelButtonText' | 'hasNoBodyPadding' | 'mainAriaLabel' | 'mainAriaLabelledBy' | 'navAriaLabel' | 'navAriaLabelledBy'>; export type InternalWizardProps = PickedWizardProps & { steps: FormikWizardStep[]; onNext?: (nextStepIndex: number, prevStepIndex: number) => void; onBack?: (nextStepIndex: number, prevStepIndex: number) => void; }; declare const InternalWizard: React.FunctionComponent<InternalWizardProps>; export default InternalWizard;