Packages

A set of simple Surface components based on ant-design.

Current section

Files

Jump to
live_antd lib helper.ex
Raw

lib/helper.ex

defmodule LiveAntd.Helper do
use Surface.Component
alias LiveAntd.Components.Card
alias LiveAntd.Components.Empty
def render_empty(assigns) do
~H"""
<Card>
<Empty />
</Card>
"""
end
end