Skip to content

Commit

Permalink
fix attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
woylie committed Dec 5, 2023
1 parent 4562f8d commit 1162c9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/doggo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ defmodule Doggo do
<.button>Confirm</.button>
<.button type="submit" kind={:secondary} size={:medium} shape={:pill}>
<.button type="submit" variant={:secondary} size={:medium} shape={:pill}>
Submit
</.button>
"""
attr :type, :string, values: ["button", "reset", "submit"], default: "button"

attr :kind, :atom,
attr :variant, :atom,
values: [:primary, :secondary, :info, :success, :warning, :danger],
default: :primary

Expand Down Expand Up @@ -179,7 +179,7 @@ defmodule Doggo do
<.button_link
navigate={~p"/registration"}
kind={:primary}
variant={:primary}
shape={:pill}>
Submit
</.button>
Expand All @@ -191,7 +191,7 @@ defmodule Doggo do
attr :method, :string, default: "get"
attr :csrf_token, :any, default: true

attr :kind, :atom,
attr :variant, :atom,
values: [:primary, :secondary, :info, :success, :warning, :danger],
default: :primary

Expand Down

0 comments on commit 1162c9f

Please sign in to comment.