import React from 'react'; import PropTypes from 'prop-types'; const ConfirmPageContainerNavigation = (props) => { const { onNextTx, totalTx, positionOfCurrentTx, nextTxId, prevTxId, showNavigation, firstTx, lastTx, ofText, requestsWaitingText, } = props; return (
{positionOfCurrentTx} {ofText} {totalTx}
{requestsWaitingText}
); }; ConfirmPageContainerNavigation.propTypes = { totalTx: PropTypes.number, positionOfCurrentTx: PropTypes.number, onNextTx: PropTypes.func, nextTxId: PropTypes.string, prevTxId: PropTypes.string, showNavigation: PropTypes.bool, firstTx: PropTypes.string, lastTx: PropTypes.string, ofText: PropTypes.string, requestsWaitingText: PropTypes.string, }; export default ConfirmPageContainerNavigation;