Skip to content

Commit 9d77d55

Browse files
authored
Merge pull request #26 from rice-cracker-dev/patch-1
updated network.md to use the new children property instead
2 parents bb3d7e0 + 968c92e commit 9d77d55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/docs/services/network.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ const WiredIndicator = () => Widget.Icon({
111111
})
112112

113113
const NetworkIndicator = () => Widget.Stack({
114-
items: [
115-
['wifi', WifiIndicator()],
116-
['wired', WiredIndicator()],
117-
],
114+
children: {
115+
wifi: WifiIndicator(),
116+
wired, WiredIndicator(),
117+
},
118118
shown: network.bind('primary').as(p => p || 'wifi'),
119119
})
120120
```

0 commit comments

Comments
 (0)