13 lines
309 B
TypeScript
13 lines
309 B
TypeScript
import { Layout } from "antd";
|
|
import type { BasicProps } from "antd/es/layout/layout";
|
|
|
|
function AdminLayoutBase(props: BasicProps) {
|
|
return <Layout {...props} />;
|
|
}
|
|
|
|
export const AdminLayout = Object.assign(AdminLayoutBase, {
|
|
Sider: Layout.Sider,
|
|
Header: Layout.Header,
|
|
Content: Layout.Content,
|
|
});
|