Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type Title ¶
type Title struct { Type string `json:"type"` Props Props `json:"props"` State State `json:"state"` // contains filtered or unexported fields }
func (*Title) GenComponentState ¶
func (this *Title) GenComponentState(c *apistructs.Component) error
GenComponentState 获取state
func (*Title) Render ¶
func (t *Title) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
type TitleStyles ¶
type TitleStyles struct {
FontSize string `json:"fontSize"`
}
Click to show internal directories.
Click to hide internal directories.