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/integration_test/temple_demo/lib/temple_demo_web/components/flash.ex
Mitchell Hanberg 5150a93e38 emit live view compatible component and slot markup
- requires the development branch of live_view currently, if you are
  going to be using live view

ci

Docs

Raise minimum elixir version to 1.9

There is some bug in EEx that was fixed in 1.9 and I can't be bothered
to make it backwards compatible with the bug.

ugh

Remove commented out line
2021-05-13 00:21:43 -04:00

10 lines
194 B
Elixir

defmodule TempleDemoWeb.Component.Flash do
import Temple.Component
render do
div class: "alert alert-#{@type}", style: "border: solid 5px pink" do
slot :default
end
end
end