Skip to content

Commit eb2d10a

Browse files
committed
Update docs
1 parent c32db4c commit eb2d10a

24 files changed

+45
-45
lines changed

Sources/LiveViewNative/LiveViewNative.docc/Elements/AsyncImage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AsyncImage
22

3-
`<asyncimage>`, displays images loaded from a remote URL.
3+
`<async-image>`, displays images loaded from a remote URL.
44

55
## Attributes
66

Sources/LiveViewNative/LiveViewNative.docc/Elements/HStack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# HStack
22

3-
`<hstack>`, lays out children in a horizontal line.
3+
`<h-stack>`, lays out children in a horizontal line.
44

55
## Attributes
66

Sources/LiveViewNative/LiveViewNative.docc/Elements/NavigationLink.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NavigationLink
22

3-
`<navigationlink>`, links to another live view page.
3+
`<navigation-link>`, links to another live view page.
44

55
## Attributes
66

Sources/LiveViewNative/LiveViewNative.docc/Elements/RoundedRectangle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RoundedRectangle
22

3-
`<roundedrectangle>`, a rectangle shape with rounded corners.
3+
`<rounded-rectangle>`, a rectangle shape with rounded corners.
44

55
## Attributes
66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ScrollView
22

3-
`<scrollview>`, allows its content to be scrolled if it's larger than the available space.
3+
`<scroll-view>`, allows its content to be scrolled if it's larger than the available space.
44

55
## Attributes

Sources/LiveViewNative/LiveViewNative.docc/Elements/TextField.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TextField
22

3-
`<textfield>`, a text field form element.
3+
`<text-field>`, a text field form element.
44

55
## Overview
66

Sources/LiveViewNative/LiveViewNative.docc/Elements/VStack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# VStack
22

3-
`<vstack>`, lays out children in a vertical line
3+
`<v-stack>`, lays out children in a vertical line
44

55
## Attributes
66

Sources/LiveViewNative/LiveViewNative.docc/Elements/ZStack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ZStack
22

3-
`<zstack>`, lays out children on top of each other, from back to front.
3+
`<z-stack>`, lays out children on top of each other, from back to front.
44

55
## Attributes
66

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<list>
22
<%= for name <- @cats do %>
3-
<hstack id={name}>
4-
<asyncimage src={"/images/cats/#{name}.jpg"} modifiers='[{"type": "frame", "width": 100, "height": 100}]' />
3+
<h-stack id={name}>
4+
<async-image src={"/images/cats/#{name}.jpg"} modifiers='[{"type": "frame", "width": 100, "height": 100}]' />
55
<text><%= name %></text>
6-
</hstack>
6+
</h-stack>
77
<% end %>
88
</list>
99

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<list>
22
<%= for {name, favorite} <- @cats_and_favorites do %>
3-
<hstack id={name}>
4-
<asyncimage src={"/images/cats/#{name}.jpg"} modifiers='[{"type": "frame", "width": 100, "height": 100}]' />
3+
<h-stack id={name}>
4+
<async-image src={"/images/cats/#{name}.jpg"} modifiers='[{"type": "frame", "width": 100, "height": 100}]' />
55
<text><%= name %></text>
6-
</hstack>
6+
</h-stack>
77
<% end %>
88
</list>
99

0 commit comments

Comments
 (0)