Im using Phoenix LiveView Native (beta 1) and am having trouble creating a button. here is my code below.
defmodule MyApp.HomeLive do
use MyApp, :live_view
use MyApp.HomeStyles
def render(%{format: :swiftui} = assigns) do
~SWIFTUI"""
<VStack class="">
<Button />
Sign Up
</VStack>
"""
end
end
Here is what I ended up doing