1 import type { FC, ReactNode } from 'react';
3 import clsx from '@proton/utils/clsx';
8 description?: ReactNode;
12 export const SubHeader: FC<Props> = ({ actions, className, description, title }) => (
13 <header className={clsx('flex flex-nowrap justify-space-between', className)}>
14 <div className="flex flex-1 flex-column flex-nowrap gap-3">
15 <h2 className="text-bold text-3xl">{title}</h2>
16 {description && <span>{description}</span>}