phoenix_components
phoenix_components copied to clipboard
Support a map as single argument
Add support for receiving a Map or Keyword list.
<%= button my_attrs %>
where my_attrs is a Map.
It is allowed?
@jhonathas not right now, you have to create a separate function (in a view?) and "translate" that to the current format.