line_bot v0.1.0 LineBot.Message.Flex.Text View Source

Represents an Text component.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %LineBot.Message.Flex.Text{
  action: LineBot.Message.Action.t() | nil,
  align: :start | :end | :center | nil,
  color: String.t() | nil,
  flex: integer() | nil,
  gravity: :top | :bottom | :center | nil,
  margin: :none | :xs | :sm | :md | :lg | :xl | :xxl | nil,
  maxLines: integer() | nil,
  size:
    :none | :xs | :sm | :md | :lg | :xl | :xxl | :"3xl" | :"4xl" | :"5xl" | nil,
  text: String.t(),
  type: :text,
  weight: :regular | :bold | nil,
  wrap: boolean() | nil
}