Skip to content

Commit

Permalink
add doc annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
woylie committed Dec 6, 2023
1 parent 359f056 commit 71aa905
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/doggo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ defmodule Doggo do
Submit
</.button>
"""
@doc type: :component

attr :type, :string, values: ["button", "reset", "submit"], default: "button"

attr :variant, :atom,
Expand Down Expand Up @@ -184,6 +186,8 @@ defmodule Doggo do
Submit
</.button>
"""
@doc type: :component

attr :navigate, :string, default: nil
attr :patch, :string, default: nil
attr :href, :any, default: nil
Expand Down Expand Up @@ -278,6 +282,7 @@ defmodule Doggo do
Feb 2, 2023, 14:22:06 PM
</time>
"""
@doc type: :component

attr :value, :any,
required: true,
Expand Down Expand Up @@ -404,6 +409,7 @@ defmodule Doggo do
Feb 2, 2023
</time>
"""
@doc type: :component

attr :value, :any,
required: true,
Expand Down Expand Up @@ -491,6 +497,7 @@ defmodule Doggo do
14:22:06 PM
</time>
"""
@doc type: :component

attr :value, :any,
required: true,
Expand Down

0 comments on commit 71aa905

Please sign in to comment.