/** * @file 404 * @author fex */ import React from 'react'; import {themeable, ClassNamesFn} from '../theme'; interface NotFoundProps { code?: string | number; description?: string; links?: React.ReactNode; footerText?: React.ReactNode; classPrefix: string; classnames: ClassNamesFn; } export class NotFound extends React.Component { render() { const {links, footerText, description, children, code} = this.props; return (

{code || '404'}

{description ? (
{description}
) : null}
{children} {links ? (
{links}
) : null} {footerText ? (

{footerText}

) : null}
); } } export default themeable(NotFound);