emptyText

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type Command

type Command struct {
	Key          string `json:"key"`
	ScenarioType string `json:"scenarioType"`
	ScenarioKey  string `json:"scenarioKey"`
}

type ComponentEmptyText

type ComponentEmptyText struct {
	CtxBdl     protocol.ContextBundle
	Operations map[string]interface{} `json:"operations"`
	State      State                  `json:"state"`
	Props      Props                  `json:"props"`
}

type Config

type Config struct {
	FontSize   int `json:"fontSize"`
	LineHeight int `json:"lineHeight"`
}

type Operation

type Operation struct {
	Key     string  `json:"key"`
	Reload  bool    `json:"reload"`
	Command Command `json:"command"`
}

type Props

type Props struct {
	Visible     bool                     `json:"visible"`
	RenderType  string                   `json:"renderType"`
	StyleConfig Config                   `json:"styleConfig"`
	Value       map[string][]interface{} `json:"value"`
}

type Redirect

type Redirect struct {
	Text         string         `json:"text"`
	OperationKey string         `json:"operationKey"`
	StyleConfig  RedirectConfig `json:"styleConfig"`
}

type RedirectConfig

type RedirectConfig struct {
	Bold bool `json:"bold"`
}

type State

type State struct {
	IsEmpty bool `json:"isEmpty"`
}

Jump to

Keyboard shortcuts

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