File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -834,7 +834,7 @@ The `Image` element is best for system images such as the built in [SF Symbols](
834
834
835
835
### System Images
836
836
837
- You can use the ` system-image ` attribute to provide the name of system images to the ` Image ` element.
837
+ You can use the ` systemName ` attribute to provide the name of system images to the ` Image ` element.
838
838
839
839
For the full list of SF Symbols you can download Apple's [ Symbols 5] ( https://developer.apple.com/sf-symbols/ ) application.
840
840
@@ -853,7 +853,7 @@ defmodule ServerWeb.ExampleLive.SwiftUI do
853
853
854
854
def render (assigns, _interface ) do
855
855
~ LVN """
856
- <Image system-name ="square.and.arrow.up" />
856
+ <Image systemName ="square.and.arrow.up" />
857
857
"""
858
858
end
859
859
end
@@ -929,7 +929,7 @@ defmodule ServerWeb.ExampleLive.SwiftUI do
929
929
def render (assigns, _interface ) do
930
930
~ LVN """
931
931
<Button><Text>Text Button</Text></Button>
932
- <Button><Label system-image ="bolt.fill">Icon Button</Label></Button>
932
+ <Button><Label systemImage ="bolt.fill">Icon Button</Label></Button>
933
933
"""
934
934
end
935
935
end
You can’t perform that action at this time.
0 commit comments