Skip to content

Commit

Permalink
Document supported table types
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Jul 30, 2024
1 parent 44cebd0 commit 41c9fd1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/kino/table.ex
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ defmodule Kino.Table do
optional(:summary) => %{String.t() => String.t()}
}

@typedoc """
The following types have meaning on the front-end:
* "date"
* "list"
* "number"
* "struct"
* "text"
* "uri"
"""
@type type :: String.t()

@type state :: term()

@doc """
Expand Down

0 comments on commit 41c9fd1

Please sign in to comment.