medicode / storybook /components /upload_form.story.exs
noahsettersten's picture
docs: `upload_form` doc, attributes, and story
76513af
raw
history blame
351 Bytes
defmodule MedicalTranscriptionWeb.Storybook.UploadForm do
use PhoenixStorybook.Story, :component
def function, do: &MedicalTranscriptionWeb.Components.upload_form/1
def variations do
[
%Variation{
id: :default,
attributes: %{
audio_upload: %Phoenix.LiveView.UploadConfig{}
}
}
]
end
end