2019-01-01 12:13:51 +08:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2019-01-12 11:33:27 +08:00
|
|
|
import { AntdComponent } from '../component';
|
|
|
|
import { LayoutSider } from './layout-sider';
|
2019-01-19 18:56:33 +08:00
|
|
|
import LayoutHeader from './layout-header';
|
|
|
|
import LayoutContent from './layout-content';
|
|
|
|
import LayoutFooter from './layout-footer';
|
2019-01-01 12:13:51 +08:00
|
|
|
|
|
|
|
export declare class Layout extends AntdComponent {
|
2019-01-19 18:56:33 +08:00
|
|
|
static Header: typeof LayoutHeader;
|
|
|
|
static Content: typeof LayoutContent;
|
|
|
|
static Footer: typeof LayoutFooter;
|
|
|
|
static Sider: typeof LayoutSider;
|
2019-01-01 12:13:51 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* container className
|
|
|
|
* @default undefined
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
class: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* to customize the styles
|
|
|
|
* @type string | object
|
|
|
|
*/
|
|
|
|
style: string | object;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* whether contain Sider in children, don't have to assign it normally. Useful in ssr avoid style flickering
|
|
|
|
* @type boolean
|
|
|
|
*/
|
|
|
|
hasSider: boolean;
|
|
|
|
}
|