File
Blob: src/client/components/ui/page-title-section.tsx
| 1 | import { PageTitle, type PageTitleProps } from "@/client/components/ui/page-title"; |
| 2 | import { PAGE_CONTENT_COLUMN_CLASS } from "@/client/components/ui/page-layout"; |
| 3 | |
| 4 | interface PageTitleSectionProps extends PageTitleProps { |
| 5 | className?: string; |
| 6 | } |
| 7 | |
| 8 | export function PageTitleSection({ |
| 9 | className = `${PAGE_CONTENT_COLUMN_CLASS} mb-1.5`, |
| 10 | ...props |
| 11 | }: PageTitleSectionProps) { |
| 12 | return ( |
| 13 | <div className={className}> |
| 14 | <PageTitle {...props} /> |
| 15 | </div> |
| 16 | ); |
| 17 | } |