Files
clube67_newwhats.local/base-scoreodonto/scoreodonto/components/PageHeader.tsx
T
VPS 4 Deploy Agent 5ec6bd6354
continuous-integration/webhook Falha no deploy de clube67_newwhats.local (VPS 4)
chore(ops): migrate clube67 to newwhats.clube67.com directory
2026-05-18 03:26:41 +02:00

23 lines
755 B
TypeScript

import React from 'react';
import { NotificationCenter } from './NotificationCenter.tsx';
interface PageHeaderProps {
title: string;
description?: string;
children?: React.ReactNode;
}
export const PageHeader: React.FC<PageHeaderProps> = ({ title, description, children }) => {
return (
<div className="flex justify-between items-center mb-6">
<div>
<h2 className="text-2xl font-bold text-gray-900 uppercase">{title}</h2>
{description && <p className="text-gray-500 text-xs uppercase font-bold mt-1">{description}</p>}
</div>
<div className="flex items-center gap-3">
{children}
</div>
</div>
);
};