Add additional help to quick search and an advanced search documentation page (#1757)

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
This commit is contained in:
Konstantin Schaper
2021-08-09 12:07:28 +02:00
committed by GitHub
parent f2249cea73
commit ddd2fc1055
43 changed files with 1494 additions and 94 deletions

View File

@@ -37,7 +37,7 @@ type Props = {
// and use something different than a string for the title property.
documentTitle?: string;
afterTitle?: ReactNode;
subtitle?: string;
subtitle?: ReactNode;
loading?: boolean;
error?: Error | null;
showContentOnError?: boolean;
@@ -123,7 +123,7 @@ export default class Page extends React.Component<Props> {
<Title title={this.getTextualTitle()}>{this.getTitleComponent()}</Title>
{afterTitle && <MarginLeft>{afterTitle}</MarginLeft>}
</FlexContainer>
<Subtitle subtitle={subtitle} />
{subtitle ? <Subtitle>{subtitle}</Subtitle> : null}
</div>
{pageActions}
</div>