diff --git a/src/Journal/index.tsx b/src/Journal/index.tsx index c70c131..58c7ac3 100644 --- a/src/Journal/index.tsx +++ b/src/Journal/index.tsx @@ -88,7 +88,7 @@ class Journal extends React.PureComponent { return ( - + {collectionInfo.displayName} { +export default withTheme()((props: {children: React.ReactNode | React.ReactNode[], theme: Theme}) => { const style = { header: { backgroundColor: props.theme.palette.primary.main, @@ -17,7 +17,7 @@ export default withTheme()((props: {text: string, theme: Theme}) => { return (
-

{props.text}

+

{props.children}

); });