feat: Add minor settings improvements (#4626)

This commit is contained in:
Bruno Quaresma
2022-10-18 16:25:52 -03:00
committed by GitHub
parent 0d67dfc215
commit 906046c1cc
7 changed files with 255 additions and 630 deletions

View File

@ -6,7 +6,7 @@ import React from "react"
export const Header: React.FC<{
title: string | JSX.Element
description: string | JSX.Element
description?: string | JSX.Element
secondary?: boolean
docsHref?: string
}> = ({ title, description, docsHref, secondary }) => {
@ -18,7 +18,9 @@ export const Header: React.FC<{
<h1 className={`${styles.title} ${secondary ? "secondary" : ""}`}>
{title}
</h1>
<span className={styles.description}>{description}</span>
{description && (
<span className={styles.description}>{description}</span>
)}
</div>
{docsHref && (