1 | import * as React from 'react';
|
2 | import Content from './Content';
|
3 | import Footer from './Footer';
|
4 | import Header from './Header';
|
5 | import Sider from './Sider';
|
6 | import * as PropTypes from 'prop-types';
|
7 | declare class Layout extends React.Component<Layout.Props> {
|
8 | static displayName: string;
|
9 | static Content: typeof Content;
|
10 | static Footer: typeof Footer;
|
11 | static Header: typeof Header;
|
12 | static Sider: typeof Sider;
|
13 | static propTypes: PropTypes.ValidationMap<Layout.Props>;
|
14 | private hasSider;
|
15 | renderChildren(): any[];
|
16 | render(): JSX.Element;
|
17 | }
|
18 | declare namespace Layout {
|
19 | interface Props extends React.Props<{}> {
|
20 | className?: string;
|
21 | hasSider?: boolean;
|
22 | style?: React.CSSProperties;
|
23 | }
|
24 | }
|
25 | export default Layout;
|