mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 03:58:05 +08:00
33 lines
833 B
TypeScript
33 lines
833 B
TypeScript
import { CSSProperties } from 'vue';
|
|
// 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
|
|
|
|
import { AntdComponent, AntdProps } from '../component';
|
|
|
|
export interface LayoutContentProps {
|
|
/**
|
|
* container className
|
|
* @default undefined
|
|
* @type string
|
|
*/
|
|
class?: string;
|
|
|
|
/**
|
|
* to customize the styles
|
|
* @type CSSProperties
|
|
*/
|
|
style?: CSSProperties;
|
|
|
|
/**
|
|
* whether contain Sider in children, don't have to assign it normally. Useful in ssr avoid style flickering
|
|
* @type boolean
|
|
*/
|
|
hasSider?: boolean;
|
|
}
|
|
|
|
export default class LayoutContent extends AntdComponent {
|
|
$props: AntdProps & LayoutContentProps;
|
|
}
|