2020-08-19 02:38:09 +00:00
|
|
|
import { CSSProperties } from 'vue';
|
2019-01-19 10:56:33 +00:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: Pythonfo <https://github.com/Pythonfo>
|
|
|
|
// Copy from: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2020-08-31 06:59:56 +00:00
|
|
|
import { AntdComponent, AntdProps } from '../component';
|
2019-01-19 10:56:33 +00:00
|
|
|
|
2020-08-19 02:38:09 +00:00
|
|
|
export interface LayoutContentProps {
|
2019-01-19 10:56:33 +00:00
|
|
|
/**
|
|
|
|
* container className
|
|
|
|
* @default undefined
|
|
|
|
* @type string
|
|
|
|
*/
|
2020-08-19 02:38:09 +00:00
|
|
|
class?: string;
|
2019-01-19 10:56:33 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* to customize the styles
|
2020-08-19 02:38:09 +00:00
|
|
|
* @type CSSProperties
|
2019-01-19 10:56:33 +00:00
|
|
|
*/
|
2020-08-19 02:38:09 +00:00
|
|
|
style?: CSSProperties;
|
2019-01-19 10:56:33 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* whether contain Sider in children, don't have to assign it normally. Useful in ssr avoid style flickering
|
|
|
|
* @type boolean
|
|
|
|
*/
|
2020-08-19 02:38:09 +00:00
|
|
|
hasSider?: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export default class LayoutContent extends AntdComponent {
|
|
|
|
$props: LayoutContentProps;
|
2019-01-19 10:56:33 +00:00
|
|
|
}
|