-
Notifications
You must be signed in to change notification settings - Fork 2
/
const.go
42 lines (33 loc) · 856 Bytes
/
const.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
package bootstrap4
// Kind ...
type Kind string
const (
KindPrimary Kind = "primary"
KindSecondary Kind = "secondary"
KindSuccess Kind = "success"
KindDanger Kind = "danger"
KindWarning Kind = "warning"
KindInfo Kind = "info"
KindLight Kind = "light"
KindDark Kind = "dark"
KindTransparent Kind = "transparent" // background only
)
func (k Kind) String() string { return string(k) }
// DropDir ...
type DropDir string
const (
DropDown DropDir = "dropdown"
DropUp DropDir = "dropup"
DropLeft DropDir = "dropleft"
DropRight DropDir = "dropright"
)
func (dd DropDir) String() string { return string(dd) }
// Size ...
type Size string
const (
SizeXLarge Size = "xl"
SizeLarge Size = "lg"
SizeMidium Size = "md"
SizeSmall Size = "sm"
)
func (sz Size) String() string { return string(sz) }