index.d.ts 610 B

123456789101112131415
  1. import InternalLayout, { Content, Footer, Header } from './layout';
  2. import Sider, { SiderContext } from './Sider';
  3. export type { BasicProps as LayoutProps } from './layout';
  4. export type { SiderProps } from './Sider';
  5. type InternalLayoutType = typeof InternalLayout;
  6. type CompoundedComponent = InternalLayoutType & {
  7. Header: typeof Header;
  8. Footer: typeof Footer;
  9. Content: typeof Content;
  10. Sider: typeof Sider;
  11. /** @private Internal Context. Do not use in your production. */
  12. _InternalSiderContext: typeof SiderContext;
  13. };
  14. declare const Layout: CompoundedComponent;
  15. export default Layout;