freedive/lib/liliform/component.ex

18 lines
315 B
Elixir
Raw Normal View History

2024-05-14 21:58:42 +02:00
defmodule Liliform.Component do
defmacro __using__(_) do
quote do
# Bulma prefixes
use Phoenix.Component,
global_prefixes: [
"is-",
"has-"
]
alias Phoenix.LiveView.JS
import Liliform.Translation
import Liliform.BulmaHelper
end
end
end