16 lines
610 B
TypeScript
16 lines
610 B
TypeScript
|
import InternalLayout, { Content, Footer, Header } from './layout';
|
||
|
import Sider, { SiderContext } 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;
|
||
|
/** @private Internal Context. Do not use in your production. */
|
||
|
_InternalSiderContext: typeof SiderContext;
|
||
|
};
|
||
|
declare const Layout: CompoundedComponent;
|
||
|
export default Layout;
|