Documentation ¶
Index ¶
Constants ¶
View Source
const ( ColorTextMain = "text-main" ColorTextDesc = "text-desc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Props ¶
type Props struct { RenderType string `json:"renderType"` Value PropsValue `json:"value"` }
type PropsValue ¶
type PropsValue struct { Direction string `json:"direction"` Text PropsValueText `json:"text"` }
type PropsValueText ¶
type PropsValueText []PropsValueTextItem
type PropsValueTextItem ¶
type PropsValueTextItem struct { StyleConfig PropsValueTextStyleConfig `json:"styleConfig"` Text string `json:"text"` }
type TextValue ¶
func (*TextValue) ConvertToProps ¶
func (tv *TextValue) ConvertToProps() cptype.ComponentProps
Click to show internal directories.
Click to hide internal directories.