Skip to content

Commit

Permalink
feat: support hover on the text (#205)
Browse files Browse the repository at this point in the history
Co-authored-by: sfwn <sfwnlin@gmail.com>
  • Loading branch information
littlejiancc and sfwn committed Jan 14, 2022
1 parent 8506855 commit d3879b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions providers/component-protocol/components/commodel/text.go
Expand Up @@ -19,6 +19,7 @@ type Text struct {
Text string `json:"text,omitempty"`
EnableCopy bool `json:"enableCopy,omitempty"`
Status UnifiedStatus `json:"status,omitempty"`
Tip string `json:"tip,omitempty"` // Hover on the text, use '\n' for newlines
}

// ModelType .
Expand Down

0 comments on commit d3879b1

Please sign in to comment.