mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-03 20:47:56 +08:00
0e78eedbfb
* fix: Button, DatePicker, Layout d.ts * fix: sub component can be class cannot be instance
36 lines
976 B
TypeScript
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;
|
|
}
|