We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c55b3f1 commit a900c5bCopy full SHA for a900c5b
source/ActionSheet.mint
@@ -305,7 +305,7 @@ global component Ui.ActionSheet {
305
href : String,
306
target : String,
307
onClick : Function(Html.Event, Promise(Void)) = Promise.never1
308
- ) {
+ ) : Html {
309
let contents =
310
<>
311
if Html.isNotEmpty(iconBefore) {
source/NavItem.mint
@@ -72,7 +72,11 @@ component Ui.NavItem {
72
}
73
74
/* Renders the contents of an item. */
75
- fun renderContents (iconBefore : Html, iconAfter : Html, label : String) {
+ fun renderContents (
76
+ iconBefore : Html,
77
+ iconAfter : Html,
78
+ label : String
79
80
81
82
<Ui.Icon icon={iconBefore}/>
0 commit comments