Test update, JSX.Element -> ReactNode

Signed-off-by: Tim Hansen <timbonicus@gmail.com>
This commit is contained in:
Tim Hansen
2021-08-28 22:19:51 -06:00
parent e6c88df016
commit 7febe58d6e
5 changed files with 13 additions and 31 deletions
@@ -18,7 +18,7 @@
* TODO favoriteable capability
*/
import React, { PropsWithChildren } from 'react';
import React, { PropsWithChildren, ReactNode } from 'react';
import { Typography, makeStyles } from '@material-ui/core';
import { Helmet } from 'react-helmet';
@@ -77,7 +77,7 @@ const ContentHeaderTitle = ({
type ContentHeaderProps = {
title?: ContentHeaderTitleProps['title'];
titleComponent?: JSX.Element;
titleComponent?: ReactNode;
description?: string;
textAlign?: 'left' | 'right' | 'center';
};