11 行
386 B
TypeScript
11 行
386 B
TypeScript
import type { ReactNode } from "react";
|
|
import { SectionPanel } from "./SectionPanel";
|
|
|
|
export function DetailSideMeta({ title, description, children }: { title: string; description?: string; children: ReactNode }) {
|
|
return (
|
|
<SectionPanel title={title} description={description}>
|
|
<div className="space-y-3 text-sm text-zinc-600">{children}</div>
|
|
</SectionPanel>
|
|
);
|
|
}
|