This repository has been archived on 2023-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
temple/test/support/components/has_temple_function_assign.ex

13 lines
255 B
Elixir

defmodule Temple.Components.HasTempleFunctionAssign do
@behaviour Temple.Component
@impl Temple.Component
def render do
quote do
div Keyword.put(@temple, :class, "flex #{@temple[:class]}") do
@children
end
end
end
end