forked from youzan/vant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.ts
More file actions
38 lines (37 loc) · 798 Bytes
/
shared.ts
File metadata and controls
38 lines (37 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
export type SharedCellProps = {
icon?: string;
size?: string;
border: boolean;
center?: boolean;
isLink?: boolean;
required?: boolean;
clickable?: boolean;
titleStyle?: any;
titleClass?: any;
valueClass?: any;
labelClass?: any;
title?: string | number;
value?: string | number;
label?: string | number;
arrowDirection?: 'up' | 'down' | 'left' | 'right';
}
export const cellProps = {
icon: String,
size: String,
center: Boolean,
isLink: Boolean,
required: Boolean,
clickable: Boolean,
titleStyle: null as any,
titleClass: null as any,
valueClass: null as any,
labelClass: null as any,
title: [Number, String],
value: [Number, String],
label: [Number, String],
arrowDirection: String,
border: {
type: Boolean,
default: true
}
};