32 lines
604 B
TypeScript
32 lines
604 B
TypeScript
'use client';
|
|
|
|
import { SectionHeader } from '@/ui/SectionHeader';
|
|
import React from 'react';
|
|
|
|
interface AdminSectionHeaderProps {
|
|
title: string;
|
|
description?: string;
|
|
actions?: React.ReactNode;
|
|
}
|
|
|
|
/**
|
|
* AdminSectionHeader
|
|
*
|
|
* Semantic header for sections within admin pages.
|
|
* Follows "Precision Racing Minimal" theme: dense, clear hierarchy.
|
|
*/
|
|
export function AdminSectionHeader({
|
|
title,
|
|
description,
|
|
actions
|
|
}: AdminSectionHeaderProps) {
|
|
return (
|
|
<SectionHeader
|
|
title={title}
|
|
description={description}
|
|
actions={actions}
|
|
variant="minimal"
|
|
/>
|
|
);
|
|
}
|