diff --git a/priv/storybook/components/drawer.story.exs b/priv/storybook/components/drawer.story.exs new file mode 100644 index 00000000..1a2cdf52 --- /dev/null +++ b/priv/storybook/components/drawer.story.exs @@ -0,0 +1,68 @@ +defmodule Storybook.Components.Drawer do + use PhoenixStorybook.Story, :component + + def function, do: &Doggo.drawer/1 + + def variations do + [ + %Variation{ + id: :default, + slots: [ + """ + <:brand> + + Pet Clinic + + + """, + """ + <:top> + + <:item> + + Dashboard + + + <:item> + + <:title>Content + <:item current_page> + + Posts + + + <:item> + + Comments + + + + + + + <:title>Search + <:item> + + + """, + """ + <:bottom> + + <:item> + + Settings + + + <:item> + + Logout + + + + + """ + ] + } + ] + end +end