Skip to content

Commit 6a74d61

Browse files
committed
flex add prop: mobile
1 parent c6ae963 commit 6a74d61

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

internal/comp/divider.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func (d Divider) StaticSchema(value string) Divider {
109109
return d.set("staticSchema", value)
110110
}
111111

112-
// Style Component style
112+
// Style Component style, dashed | solid
113113
func (d Divider) Style(value any) Divider {
114114
return d.set("style", value)
115115
}

internal/comp/flex.go

+5
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ func (f Flex) UseMobileUI(value bool) Flex {
134134
return f.set("useMobileUI", value)
135135
}
136136

137+
// Mobile sets the style when the divice is mobile
138+
func (f Flex) Mobile(value any) Flex {
139+
return f.set("mobile", value)
140+
}
141+
137142
// Visible sets whether the component is visible
138143
func (f Flex) Visible(value bool) Flex {
139144
return f.set("visible", value)

0 commit comments

Comments
 (0)