fix sub-title.tsx

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-05-04 08:47:18 -04:00
1 parent 124d03f9b7
commit 32d32c0507
1 file changed
+2 -1
+2 -1
View File
@@ -12,6 +12,7 @@ export interface SubTitleProps {
title: React.ReactNode; title: React.ReactNode;
compact?: boolean; // no bottom padding compact?: boolean; // no bottom padding
id?: string; id?: string;
children?: React.ReactNode | React.ReactNode[];
} }
export class SubTitle extends React.Component<SubTitleProps> { export class SubTitle extends React.Component<SubTitleProps> {
@@ -23,7 +24,7 @@ export class SubTitle extends React.Component<SubTitleProps> {
return ( return (
<div className={classNames} id={id}> <div className={classNames} id={id}>
{title} {title}
{" "} {" "}
{children} {children}
</div> </div>