Skip to content

Commit

Permalink
fix: Fix lint issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
GSMLG-BOT committed Mar 4, 2023
1 parent 376233f commit 2516b4f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
4 changes: 3 additions & 1 deletion apps/phoenix_webcomponent/lib/phoenix_webcomponent/card.ex
Expand Up @@ -42,7 +42,9 @@ defmodule Phoenix.WebComponent.Card do
doc: """
Render a card title.
"""
)
) do
attr(:class, :string, doc: "title class")
end

def wc_card(assigns) do
assigns =
Expand Down
Expand Up @@ -17,11 +17,11 @@ defmodule Phoenix.WebComponent.Markdown do
## Examples
<.wc_markdown content={"# Hello"} class="dark" />
#=> <remark-element class="dark" content="# Hello"></remark-element>
<.wc_markdown class="dark"># Hello</.wc_markdown>
#=> <remark-element class="dark"># Hello</remark-element>
<.wc_markdown content={"# Hello"} class="btn" />
#=> <remark-element class="btn" content="# Hello"></remark-element>
<.wc_markdown class="btn"># Hello</.wc_markdown>
#=> <remark-element class="btn"># Hello</remark-element>
"""
@doc type: :component
Expand Down
Expand Up @@ -15,10 +15,10 @@
<!-- icon_name is bootstrap icon name -->
<.wc_bsi name={icon_name} class="w-12 h-12" />
```
"""}></.wc_markdown>
"""} />
<div class="flex flex-row mt-4 mb-2">
<.form for={@conn} action={~p"/bsi"} method="get" class={["flex flex-row gap-2"]}>
<.input field={:filter} label="Icon Name" name="filter" value={@filter} />
<.input label="Icon Name" name="filter" value={@filter} />
<.button type="submit">Search</.button>
</.form>
</div>
Expand Down
Expand Up @@ -41,6 +41,5 @@
import "phoenix_webcomponent/priv/static/phoenix_webcomponent.css"
```

"""}>
</.wc_markdown>
"""} />
</.wc_card>
Expand Up @@ -15,10 +15,10 @@
<!-- icon_name is matrial icon name -->
<.wc_mdi name={icon_name} class="w-12 h-12" />
```
"""}></.wc_markdown>
"""} />
<div class="flex flex-row mt-4 mb-2">
<.form for={@conn} action={~p"/mdi"} method="get" class={["flex flex-row gap-2"]}>
<.input field={:filter} label="Icon Name" name="filter" value={@filter} />
<.input label="Icon Name" name="filter" value={@filter} />
<.button type="submit">Search</.button>
</.form>
</div>
Expand Down

0 comments on commit 2516b4f

Please sign in to comment.