Skip to content

Commit

Permalink
chore: Format code.
Browse files Browse the repository at this point in the history
  • Loading branch information
GSMLG-BOT committed Nov 15, 2022
1 parent c9dfee6 commit df70b1d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 23 deletions.
4 changes: 1 addition & 3 deletions apps/phx_wc_storybook_web/lib/phx_wc_storybook_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ defmodule PhxWCStorybookWeb.Router do

get "/", PageController, :index

live_storybook "/storybook", backend_module: PhxWCStorybookWeb.Storybook
live_storybook("/storybook", backend_module: PhxWCStorybookWeb.Storybook)
end


end
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ defmodule PhxWCStorybookWeb.Storybook do
# - When lazy: ony .index.exs files are compiled upfront and .story.exs are compile when the
# matching story is loaded in UI.
compilation_mode: :eager

end
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ defmodule PhxWCStorybookWeb.Storybook.Components.Actionbar do
def function, do: &Phoenix.WebComponent.Actionbar.wc_actionbar/1
def description, do: "A actionbar element."

def variations do [
%Variation{
id: :default,
attributes: %{
class: "shadow"
},
slots: [
"""
<:left>
Star Wars
</:left>
<:right>
<button>action</button>
</:right>
"""
]
}
]
def variations do
[
%Variation{
id: :default,
attributes: %{
class: "shadow"
},
slots: [
"""
<:left>
Star Wars
</:left>
<:right>
<button>action</button>
</:right>
"""
]
}
]
end

end

0 comments on commit df70b1d

Please sign in to comment.