defmodule LivebookWeb.SessionLive.CustomViewComponent do
use LivebookWeb, :live_component
@impl true
def render(assigns) do
~H"""
Custom view
Configure notebook display options.
Options
<.switch_field name="show_section" label="Show sections" value={false} />
<.switch_field name="show_markdown" label="Show markdown" value={false} />
<.switch_field name="show_output" label="Show outputs" value={false} />
<.switch_field name="spotlight" label="Spotlight focused" value={false} />
<.link patch={@return_to} class="button-base button-outlined-gray">
Close
"""
end
end