RelayMark.Annotation (relay_mark_elixir v0.5.1)

Copy Markdown View Source

RelayMark annotation struct.

Summary

Types

t()

@type t() :: %RelayMark.Annotation{
  anchor: map(),
  content: [RelayMark.Inline.t()],
  id: String.t(),
  props: map(),
  type: String.t()
}

Functions

from_map(map)

@spec from_map(map()) :: t()