@minto-ai/mt-ui
Version:
UI组件库
57 lines (56 loc) • 1.36 kB
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
declare const cellProps: {
/**
* 左侧的图片路径
*/
readonly icon: {
readonly type: StringConstructor;
readonly default: "";
};
/**
* 中间的标题文本
*/
readonly title: {
readonly type: StringConstructor;
readonly default: "";
};
/**
* 标题下方的描述信息
*/
readonly description: {
readonly type: StringConstructor;
readonly default: "";
};
/**
* 是否展示右侧箭头
*/
readonly link: {
readonly type: BooleanConstructor;
readonly default: false;
};
/**
* 是否显示可点击指针样式
*/
readonly clickable: {
readonly type: BooleanConstructor;
readonly default: true;
};
/**
* 单元格宽度
*/
readonly width: {
readonly type: PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "100%";
};
/**
* 单元格高度
*/
readonly height: {
readonly type: PropType<number | string>;
readonly validator: (value: number | string) => boolean;
readonly default: "auto";
};
};
export type CellProps = ExtractPropTypes<typeof cellProps>;
export { cellProps };