forked from hilaily/larkcard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.go
56 lines (44 loc) · 1.25 KB
/
vars.go
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package larkcard
type HeaderColor = string
var (
HeaderBlue HeaderColor = "blue"
HeaderWathet HeaderColor = "wathet"
HeaderTurquoise HeaderColor = "turquoise"
HeaderGreen HeaderColor = "green"
HeaderYellow HeaderColor = "Yellow"
HeaderOrange HeaderColor = "orange"
HeaderRed HeaderColor = "red"
HeaderCarmine HeaderColor = "carmine"
HeaderViolet HeaderColor = "violet"
HeaderPurple HeaderColor = "purple"
HeaderIndigo HeaderColor = "indigo"
HeaderGrey HeaderColor = "grey"
)
type TextTag = string
var (
TextPlain TextTag = "plain_text"
TextLarkMD TextTag = "lark_md"
)
type ImageModeType = string
var (
ImageModeFitHorizontal ImageModeType = "fit_horizontal"
ImageModeOPCenter ImageModeType = "op_center"
)
type LayoutType = string
var (
LayoutBisected LayoutType = "bisected"
LayoutTrisection LayoutType = "trisection"
LayoutFlow LayoutType = "flow"
)
type ButtonType = string
var (
ButtonDefault ButtonType = "default"
ButtonPrimary ButtonType = "primary"
ButtonDanger ButtonType = "danger"
)
type DatePickerType = string
var (
DatePickerDate DatePickerType = "date_picker"
DatePickerTime DatePickerType = "picker_time"
DatePickerDatetime DatePickerType = "picker_datetime"
)