import * as React from 'react'; import { Button, Flex, FlexItem } from '@patternfly/react-core'; import './StepNavigation.scss'; interface StepNavigationProps { currentStep: number; totalSteps: number; isFirstStep: boolean; isLastStep: boolean; onNext: () => void; onPrev: () => void; onDone: () => void; } export const StepNavigation: React.FC = ({ currentStep, totalSteps, isFirstStep, isLastStep, onNext, onPrev, onDone, }) => ( {`${currentStep + 1} of ${totalSteps}`} {!isFirstStep && ( )} {isLastStep ? ( ) : ( )} );