UNPKG

decap-cms-core

Version:

Decap CMS core application, see decap-cms package for the main distribution.

24 lines (19 loc) 519 B
import React from 'react'; import styled from '@emotion/styled'; import { translate } from 'react-polyglot'; import { lengths } from 'decap-cms-ui-default'; import PropTypes from 'prop-types'; const NotFoundContainer = styled.div` margin: ${lengths.pageMargin}; `; function NotFoundPage({ t }) { return ( <NotFoundContainer> <h2>{t('app.notFoundPage.header')}</h2> </NotFoundContainer> ); } NotFoundPage.propTypes = { t: PropTypes.func.isRequired, }; export default translate()(NotFoundPage);