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 | |