Documentation ¶
Overview ¶
Package aboutdialog provides a menu item element that is used in the header menu of the web UI, to display an "About" dialog.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns the menu item element. It should be used as the entry point, to create the needed react element.
config is the web UI config that was fetched from the server.
entryText is the text for this menu item, displayed in the menu.
dialog is the text that appears in the dialog that is created when this menu item is clicked on.
class is the CSS class for this item.
Types ¶
type AboutMenuItemDef ¶
type AboutMenuItemDef struct {
react.ComponentDef
}
func (AboutMenuItemDef) OnClick ¶
func (a AboutMenuItemDef) OnClick(e *react.SyntheticMouseEvent)
func (AboutMenuItemDef) Props ¶
func (a AboutMenuItemDef) Props() AboutMenuItemProps
Props is an auto-generated proxy to the current props of AboutMenuItem
func (AboutMenuItemDef) Render ¶
func (a AboutMenuItemDef) Render() react.Element
type AboutMenuItemProps ¶
type AboutMenuItemProps struct {
// contains filtered or unexported fields
}
func (AboutMenuItemProps) EqualsIntf ¶
func (a AboutMenuItemProps) EqualsIntf(val react.Props) bool
func (AboutMenuItemProps) IsProps ¶
func (a AboutMenuItemProps) IsProps()
IsProps is an auto-generated definition so that AboutMenuItemProps implements the myitcv.io/react.Props interface.