mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:29:45 +00:00
20 lines
312 B
TypeScript
20 lines
312 B
TypeScript
import { ReactNode } from "react";
|
|
|
|
interface PageContentProps {
|
|
children?: ReactNode;
|
|
id?: string;
|
|
className?: string;
|
|
}
|
|
|
|
export default function PageContent({
|
|
children,
|
|
id = "",
|
|
className,
|
|
}: PageContentProps) {
|
|
return (
|
|
<div className={className} id={id}>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|