Skip to content

Commit

Permalink
Add typespec.
Browse files Browse the repository at this point in the history
  • Loading branch information
zorn committed Dec 18, 2024
1 parent af64e88 commit cb7d71d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/flick_web/components/ui.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ defmodule FlickWeb.UI do
use Phoenix.Component
use FlickWeb, :verified_routes

alias Phoenix.LiveView.Rendered
alias Phoenix.LiveView.Socket

slot :inner_block, required: true
attr :rest, :global

@spec page_column(Socket.assigns()) :: Rendered.t()
def page_column(assigns) do
~H"""
<div class="max-w-2xl mx-auto px-4">
Expand Down

0 comments on commit cb7d71d

Please sign in to comment.