defmodule LivebookWeb.Output do use Phoenix.Component import LivebookWeb.Helpers import LivebookWeb.LiveHelpers alias Phoenix.LiveView.JS alias LivebookWeb.Output alias LivebookWeb.Router.Helpers, as: Routes @doc """ Renders a list of cell outputs. """ def outputs(assigns) do ~H""" <%= for {idx, output} <- Enum.reverse(@outputs) do %>