Skip to content

Commit

Permalink
Merge pull request #26 from rice-cracker-dev/patch-1
Browse files Browse the repository at this point in the history
updated network.md to use the new children property instead
  • Loading branch information
Aylur authored Mar 28, 2024
2 parents bb3d7e0 + 968c92e commit 9d77d55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content/docs/services/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ const WiredIndicator = () => Widget.Icon({
})

const NetworkIndicator = () => Widget.Stack({
items: [
['wifi', WifiIndicator()],
['wired', WiredIndicator()],
],
children: {
wifi: WifiIndicator(),
wired, WiredIndicator(),
},
shown: network.bind('primary').as(p => p || 'wifi'),
})
```

0 comments on commit 9d77d55

Please sign in to comment.