Skip to content

Commit

Permalink
Remove isExpanded attribute and related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Serabe committed Dec 13, 2024
1 parent 55f154b commit 1cf8c97
Show file tree
Hide file tree
Showing 2 changed files with 215 additions and 255 deletions.
11 changes: 4 additions & 7 deletions priv/templates/lvn.swiftui.gen/core_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -416,14 +416,11 @@ defmodule <%= inspect context.web_module %>.CoreComponents.<%= inspect context.m
<%%= render_slot(@inner_block, f) %>
<%% else %>
<%%= for section <- @section do %>
<Section isExpanded={Map.get(section, :is_expanded, true)}>
<Text :if={not is_nil(Map.get(section, :header))} template={:header}>
<%%= Map.get(section, :header) %>
</Text>
<Section>
<Text :if={not is_nil(Map.get(section, :header))} template={:header} content={Map.get(section, :header)} />
<%%= render_slot(section) %>
<Text :if={not is_nil(Map.get(section, :footer))} template={:footer}>
<%%= Map.get(section, :footer) %>
</Text>
<Text :if={not is_nil(Map.get(section, :footer))} template={:footer} content={Map.get(section, :footer)} />
</Section>
<%% end %>
<%% end %>
Expand Down
Loading

0 comments on commit 1cf8c97

Please sign in to comment.