import { HorizontalLine } from "components/HorizontalLine"; import { Ico, Icon } from "components/Ico"; import { Immutable } from "helpers/types"; interface Props { icon?: Icon; title: string | null | undefined; description?: string | null | undefined; } export function PanelHeader(props: Immutable): JSX.Element { return ( <>
{props.icon && }

{props.title}

{props.description ?

{props.description}

: ""}
); }