Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type AddButtonCandidate ¶
type AddButtonCandidateOp ¶
type ComponentAction ¶
type ComponentAction struct{}
func (*ComponentAction) CheckUserPermission ¶
func (ca *ComponentAction) CheckUserPermission(bdl protocol.ContextBundle) (bool, error)
GetUserPermission check Guest permission
func (*ComponentAction) Render ¶
func (ca *ComponentAction) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
type Props ¶
type Props struct { Menu []AddButtonCandidate `json:"menu"` SuffixIcon string `json:"suffixIcon"` Text string `json:"text"` Type string `json:"type"` Operations AddButtonCandidateOp `json:"operations"` Disabled bool `json:"disabled"` }
Click to show internal directories.
Click to hide internal directories.