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.
|
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
|