UNPKG

764 BTypeScriptView Raw
1import * as React from 'react';
2import Content from './Content';
3import Footer from './Footer';
4import Header from './Header';
5import Sider from './Sider';
6import * as PropTypes from 'prop-types';
7declare 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}
18declare namespace Layout {
19 interface Props extends React.Props<{}> {
20 className?: string;
21 hasSider?: boolean;
22 style?: React.CSSProperties;
23 }
24}
25export default Layout;