import React from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; const NotFoundAlert = (props) => { const { t, isHidden } = props; function clickHandler(viewType) { if (props.onPageCreateClicked === null) { return; } props.onPageCreateClicked(viewType); } if (isHidden) { return null; } return (