/** * External dependencies */ import { Button } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { close, chevronLeft, chevronRight } from '@wordpress/icons'; type ResponseNavigationProps = { hasNext: boolean; hasPrevious: boolean; onClose: ( () => void ) | null; onNext: () => void; onPrevious: () => void; }; const ResponseNavigation = ( { hasNext, hasPrevious, onClose, onNext, onPrevious, }: ResponseNavigationProps ): JSX.Element => { return (