phoenix_slime
phoenix_slime copied to clipboard
LiveView 0.15 Support
Hello!
I am getting error
Please pass a `->` clause to do/end instead, for example:
live_component @socket, GridComponent, entries: @entries do
new_assigns -> "New entry: " <> new_assigns[:entry]
end
When I try to use do block to pass content to child component.
What is the correct syntax in PhoenixSlime?