import { PaginationControl } from '@automattic/components'; import { Button } from '@wordpress/components'; import { useI18n } from '@wordpress/react-i18n'; import type { WpcomTourStepRendererProps } from '../../../types'; type Props = Omit< WpcomTourStepRendererProps, 'onMinimize' >; const WpcomTourKitStepCardNavigation: React.FunctionComponent< Props > = ( { currentStepIndex, onDismiss, onGoToStep, onNextStep, onPreviousStep, setInitialFocusedElement, steps, } ) => { const { __ } = useI18n(); const isFirstStep = currentStepIndex === 0; const lastStepIndex = steps.length - 1; return ( <> { isFirstStep ? (
) : (
) }
); }; export default WpcomTourKitStepCardNavigation;