defmodule SupabaseSurface.Components.Button.Types do
@moduledoc """
## Button Types
You can define the type of a button using the `type` prop.
There are `primary`, `secondary`, `default`, `dashed`, `outline`, `text`
and `link`.
"""
use Surface.Catalogue.Example,
subject: SupabaseSurface.Components.Button,
catalogue: SupabaseSurface.Catalogue,
height: "200px"
alias SupabaseSurface.Components.Button
def render(assigns) do
~H"""
"""
end
end
defmodule SupabaseSurface.Components.Button.Size do
@moduledoc """
## Size
You can define the size of a button using the `size` prop.
There are `tiny`, `small`, `medium`, `large` and `xlarge`.
The default is `tiny`.
"""
use Surface.Catalogue.Example,
subject: SupabaseSurface.Components.Button,
catalogue: SupabaseSurface.Catalogue,
height: "200px"
alias SupabaseSurface.Components.Button
def render(assigns) do
~H"""
"""
end
end