mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-18 11:38:32 +01:00
17 lines
367 B
TypeScript
17 lines
367 B
TypeScript
import { ReactNode } from "react";
|
|
|
|
export function SectionHeader({
|
|
title,
|
|
description,
|
|
}: {
|
|
title: string | ReactNode;
|
|
description: string | ReactNode;
|
|
}) {
|
|
return (
|
|
<div>
|
|
<h2 className="text-lg font-bold text-black dark:text-white">{title}</h2>
|
|
<div className="text-sm text-black dark:text-slate-300">{description}</div>
|
|
</div>
|
|
);
|
|
}
|