2024-12-01 11:56:54 +00:00
|
|
|
|
import { IBaseProps } from '../_util/base';
|
2024-11-10 07:01:22 +00:00
|
|
|
|
/**
|
|
|
|
|
* @description 容器,依据最佳实践统一了元素的间距、圆角,并可根据具体情况选择使用 title 内容。
|
|
|
|
|
*/
|
|
|
|
|
export interface IContainerProps extends IBaseProps {
|
2024-12-01 11:56:54 +00:00
|
|
|
|
/**
|
|
|
|
|
* @description 标题
|
|
|
|
|
*/
|
|
|
|
|
title?: string;
|
|
|
|
|
/**
|
|
|
|
|
* @description 标题是否在容器内
|
|
|
|
|
* @default true
|
|
|
|
|
*/
|
|
|
|
|
headerInBox?: boolean;
|
|
|
|
|
/**
|
|
|
|
|
* @description 类名
|
|
|
|
|
*/
|
|
|
|
|
className?: string;
|
|
|
|
|
/**
|
|
|
|
|
* @description 样式
|
|
|
|
|
*/
|
|
|
|
|
style?: string;
|
2024-11-10 07:01:22 +00:00
|
|
|
|
}
|
2024-12-01 11:56:54 +00:00
|
|
|
|
export declare const ContainerDefaultProps: IContainerProps;
|