button

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MenuItem struct {
	Key         string                 `json:"key"`
	Text        string                 `json:"text"`
	Disabled    bool                   `json:"disabled"`
	DisabledTip string                 `json:"disabledTip"`
	PrefixIcon  string                 `json:"prefixIcon"`
	Confirm     string                 `json:"confirm"`
	Operations  map[string]interface{} `json:"operations"`
}

type Props

type Props struct {
	Text       string                 `json:"text"`
	Type       interface{}            `json:"type"`
	Ghost      bool                   `json:"ghost"`
	Menu       []MenuItem             `json:"menu"`
	PrefixIcon string                 `json:"prefixIcon"`
	Style      map[string]interface{} `json:"style"`
	SuffixIcon string                 `json:"suffixIcon"`
	Tooltip    string                 `json:"tooltip"`
	Visible    bool                   `json:"visible,omitempty"`
}

Jump to

Keyboard shortcuts

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