1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix sub-title.tsx

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-04-12 14:28:14 -04:00
parent 124d03f9b7
commit 32d32c0507

View File

@ -12,6 +12,7 @@ export interface SubTitleProps {
title: React.ReactNode;
compact?: boolean; // no bottom padding
id?: string;
children?: React.ReactNode | React.ReactNode[];
}
export class SubTitle extends React.Component<SubTitleProps> {
@ -23,7 +24,7 @@ export class SubTitle extends React.Component<SubTitleProps> {
return (
<div className={classNames} id={id}>
{title}
{title}
{" "}
{children}
</div>