ant-design-vue/types/layout/layout.d.ts

36 lines
976 B
TypeScript
Raw Normal View History

// 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';
import LayoutHeader from './layout-header';
import LayoutContent from './layout-content';
import LayoutFooter from './layout-footer';
export declare class Layout extends AntdComponent {
static Header: typeof LayoutHeader;
static Content: typeof LayoutContent;
static Footer: typeof LayoutFooter;
static Sider: typeof LayoutSider;
/**
* 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;
}