mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
35 lines
674 B
TypeScript
35 lines
674 B
TypeScript
export type SharedCellProps = {
|
|
icon?: string;
|
|
size?: string;
|
|
border: boolean;
|
|
center?: boolean;
|
|
isLink?: boolean;
|
|
required?: boolean;
|
|
titleStyle?: any;
|
|
titleClass?: any;
|
|
valueClass?: any;
|
|
labelClass?: any;
|
|
title?: string | number;
|
|
value?: string | number;
|
|
label?: string | number;
|
|
}
|
|
|
|
export const cellProps = {
|
|
icon: String,
|
|
size: String,
|
|
center: Boolean,
|
|
isLink: Boolean,
|
|
required: Boolean,
|
|
titleStyle: null as any,
|
|
titleClass: null as any,
|
|
valueClass: null as any,
|
|
labelClass: null as any,
|
|
title: [String, Number],
|
|
value: [String, Number],
|
|
label: [String, Number],
|
|
border: {
|
|
type: Boolean,
|
|
default: true
|
|
}
|
|
};
|