import React, { useEffect } from 'react'; import ContentContainer from '@/components/elements/ContentContainer'; import { CSSTransition } from 'react-transition-group'; import tw from 'twin.macro'; import FlashMessageRender from '@/components/FlashMessageRender'; export interface PageContentBlockProps { title?: string; className?: string; showFlashKey?: string; } const PageContentBlock: React.FC = ({ title, showFlashKey, className, children }) => { useEffect(() => { if (title) { document.title = title; } }, [ title ]); return ( <> {showFlashKey && } {children}

© 2015 - 2020  Pterodactyl Software

); }; export default PageContentBlock;