View Source Tamnoon.Component behaviour (Tamnoon v1.0.0-a.2)
This module defines the Tamnoon.Component
behaviour, which includes one callback -
heex/0
. It is good practice to implement this behaviour in a component module, however
as long as you define a function named heex taking 0 arguments and returning the heex,
it should work just fine.
Summary
Callbacks
@callback heex() :: String.t()