Current section
Files
Jump to
Current section
Files
lib/doggo/storybook/frame.ex
defmodule Doggo.Storybook.Frame do
@moduledoc false
def variations(_opts) do
# The frame component only becomes useful through the ratio modifier, which
# is covered by the modifier variation groups.
[]
end
def modifier_variation_base(_id, _name, _value, _opts) do
%{
slots: slots()
}
end
defp slots do
[
"""
<img
src="https://github.com/woylie/doggo/blob/main/assets/dog_poncho.jpg?raw=true"
alt="A dog wearing a colorful poncho walks down a fashion show runway."
/>
"""
]
end
end