Files
plane/web/core/components/profile/profile-setting-content-header.tsx
Anmol Singh Bhatia c5cac27026 [WEB-1622] chore: profile setting layout improvement (#4840)
* chore: profile setting content header and wrapper component added

* chore: profile setting content header and wrapper component added

* chore: profile settings layout code refactor
2024-06-17 16:32:36 +05:30

18 lines
507 B
TypeScript

"use client";
import React, { FC } from "react";
type Props = {
title: string;
description?: string;
};
export const ProfileSettingContentHeader: FC<Props> = (props) => {
const { title, description } = props;
return (
<div className="flex flex-col gap-1 py-4 border-b border-custom-border-100">
<div className="text-xl font-medium text-custom-text-100">{title}</div>
{description && <div className="text-sm font-normal text-custom-text-300">{description}</div>}
</div>
);
};