defmodule AshHqWeb.Components.ProgressiveHeading do
use Surface.Component
prop depth, :integer, required: true
slot default, required: true
def render(assigns) do
~F"""
{#case @depth}
{#match 1}
<#slot />
{#match 2}
<#slot />
{#match 3}
<#slot />
{#match 4}
<#slot />
{#match 5}
<#slot />
{#match 6}
<#slot />
{#match 7}
<#slot />
{#match 8}
<#slot />
{#match 9}
<#slot />
{/case}
"""
end
end