defmodule LabelmakerWeb.RadioComponent do use Phoenix.Component attr :class, :string, default: "" attr :selected, :string, required: true attr :options, :list, required: true attr :event_name, :string, required: true def radio_component(assigns) do ~H"""
<%= for {option, index} <- Enum.with_index(@options) do %> <% end %>
""" end end