import React from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; import { UncontrolledTooltip } from 'reactstrap'; const NotFoundAlert = (props) => { const { t, isHidden, isGuestUserMode } = props; function clickHandler(viewType) { // check guest user, // disabled of button cannot be used for using tooltip. if (isGuestUserMode) { return; } if (props.onPageCreateClicked === null) { return; } props.onPageCreateClicked(viewType); } if (isHidden) { return null; } return (