import React from 'react'; import PropTypes from 'prop-types'; import './TabFooter.styl'; // In case translate is not passed const translate = word => word; function TabFooter({ onResetPreferences, onSave, onCancel, hasErrors, t = translate, }) { return (
{t('Cancel')}
); } TabFooter.propTypes = { onResetPreferences: PropTypes.func, onSave: PropTypes.func, onCancel: PropTypes.func, hasErrors: PropTypes.bool, t: PropTypes.func, }; export { TabFooter };