ant-design-vue/types/layout/layout.d.ts
Pythonfo 0e78eedbfb fix: Button, DatePicker, Layout d.ts (#422)
* fix: Button, DatePicker, Layout d.ts

* fix: sub component can be class cannot be instance
2019-01-19 18:56:33 +08:00

36 lines
976 B
TypeScript

// 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
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;
}