defmodule MedicodeWeb.Storybook.CodeDisplay do | |
use PhoenixStorybook.Story, :component | |
def function, do: &MedicodeWeb.Components.code_display/1 | |
def variations do | |
[ | |
%Variation{ | |
id: :default, | |
attributes: %{ | |
code: "74685", | |
label: "Coronary artery anomaly" | |
} | |
} | |
] | |
end | |
end | |