medicode / storybook /_root.index.exs
noahsettersten's picture
chore: Run `mix phx.gen.storybook`
24d78ad
raw
history blame
378 Bytes
defmodule Storybook.Root do
# See https://hexdocs.pm/phoenix_storybook/PhoenixStorybook.Index.html for full index
# documentation.
use PhoenixStorybook.Index
def folder_icon, do: {:fa, "book-open", :light, "psb-mr-1"}
def folder_name, do: "Storybook"
def entry("welcome") do
[
name: "Welcome Page",
icon: {:fa, "hand-wave", :thin}
]
end
end