import React from 'react'; import PropTypes from 'prop-types'; import { useSelector } from 'react-redux'; import { getMostRecentOverviewPage } from '../../../ducks/history/history'; import { useI18nContext } from '../../../hooks/useI18nContext'; import { Box, Button, BUTTON_VARIANT, Text, } from '../../../components/component-library'; import { TextColor, TypographyVariant, Display, FlexDirection, AlignItems, TextAlign, } from '../../../helpers/constants/design-system'; export default function InstitutionalEntityDonePage(props) { const mostRecentOverviewPage = useSelector(getMostRecentOverviewPage); const t = useI18nContext(); const { history, location } = props; const { state } = location; return ( {state.imgSrc && ( Entity image )} {state.title} {state.description} ); } InstitutionalEntityDonePage.propTypes = { history: PropTypes.object, location: PropTypes.object, };