This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import type { ReactNode } from "react";
|
||||
import { Layout } from "tdesign-react";
|
||||
|
||||
export interface AppContentProps {
|
||||
children: ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export default function AppContent({ children, className }: AppContentProps) {
|
||||
return (
|
||||
<Layout.Content className={["tn-content", className].filter(Boolean).join(" ")}>
|
||||
<div className="tn-content-inner">{children}</div>
|
||||
</Layout.Content>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user