Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / pass / components / Layout / Dropdown / DropdownMenuLabel.tsx
blob605e90e0e223d4bc169f3c7a8cd959a6bd4b3b90
1 import type { FC } from 'react';
3 type Props = { title: string; subtitle?: string };
5 export const DropdownMenuLabel: FC<Props> = ({ title, subtitle }) => (
6     <div className="pl-2 lh120">
7         <div>{title}</div>
8         {subtitle && <span className="text-sm color-weak">{subtitle}</span>}
9     </div>