mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 00:09:39 +08:00
9aec72c395
* chore: remove useless tsx support * add * add * style * fix lint * fix lint * fix lint * update locale entry * update locale entry * update locale entry * delete useless style
24 lines
580 B
TypeScript
24 lines
580 B
TypeScript
import InternalLayout, { Content, Footer, Header } from './layout';
|
|
import Sider from './Sider';
|
|
|
|
export type { BasicProps as LayoutProps } from './layout';
|
|
export type { SiderProps } from './Sider';
|
|
|
|
type InternalLayoutType = typeof InternalLayout;
|
|
|
|
type CompoundedComponent = InternalLayoutType & {
|
|
Header: typeof Header;
|
|
Footer: typeof Footer;
|
|
Content: typeof Content;
|
|
Sider: typeof Sider;
|
|
};
|
|
|
|
const Layout = InternalLayout as CompoundedComponent;
|
|
|
|
Layout.Header = Header;
|
|
Layout.Footer = Footer;
|
|
Layout.Content = Content;
|
|
Layout.Sider = Sider;
|
|
|
|
export default Layout;
|