diff --git a/priv/storybook/components/label.story.exs b/priv/storybook/components/label.story.exs new file mode 100644 index 00000000..1f60d40c --- /dev/null +++ b/priv/storybook/components/label.story.exs @@ -0,0 +1,19 @@ +defmodule Storybook.Components.Label do + use PhoenixStorybook.Story, :component + + def function, do: &Doggo.label/1 + + def variations do + [ + %Variation{ + id: :default, + slots: ["E-mail"] + }, + %Variation{ + id: :required, + attributes: %{required: true}, + slots: ["E-mail"] + } + ] + end +end \ No newline at end of file