aboutdialog

package
v0.0.0-...-89f6ccf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

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

func New(entryText, dialog, class string,
	config map[string]string) Element

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 {
	ComponentDef
}

func AboutMenuItem

func AboutMenuItem(p AboutMenuItemProps) *AboutMenuItemDef

func (*AboutMenuItemDef) Props

func (*AboutMenuItemDef) Render

func (a *AboutMenuItemDef) Render() Element

type AboutMenuItemProps

type AboutMenuItemProps struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL